The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CSS stylesheet isn't having an effect on our forum

4 posters

Go down

In progress CSS stylesheet isn't having an effect on our forum

Post by segador del caos July 12th 2013, 2:34 pm

A friend of mine has made a forum using forumotion and since i have some basic code knowledge i opted to do some things for him. However whatever i write into the stylesheet get's ignored. I'm guessing im missing something from the code.

I have been trying to add text decoration to user's names, here is the code i tried:

a[href="u1"]{
text decoration: bold !important;
text-shadow: 0 0 0.3em #colour, 0 0 0.3em #colour, 0 0 0.3em #colour;
}

where it says colour i actually put in values for colours, but when i click submit and reload the forum the names are still the default colours with no decoration/shadow. 

If anybody knows why this is happening please let me know asap. 

Thanks so much in advance.
avatar
segador del caos
New Member

Posts : 1
Reputation : 1
Language : English

Back to top Go down

In progress Re: CSS stylesheet isn't having an effect on our forum

Post by SLGray July 12th 2013, 6:30 pm

Is this member in a group that is colorized? If yes, then the CSS code will not work.


CSS stylesheet isn't having an effect on our forum Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: CSS stylesheet isn't having an effect on our forum

Post by levy July 12th 2013, 6:35 pm

Code:
a[href="u1"] span{
text decoration: bold !important;
text-shadow: 0 0 0.3em #ff0000 0 0 0.3em #fc2250, 0 0 0.3em #f52134;
}

Try the code again Very Happy
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

In progress Re: CSS stylesheet isn't having an effect on our forum

Post by Nera. July 12th 2013, 9:26 pm

segador del caos wrote:A friend of mine has made a forum using forumotion and since i have some basic code knowledge i opted to do some things for him. However whatever i write into the stylesheet get's ignored. I'm guessing im missing something from the code.

I have been trying to add text decoration to user's names, here is the code i tried:

Code:
a[href="u1"]{
text decoration: bold !important;
text-shadow: 0 0 0.3em #colour, 0 0 0.3em #colour, 0 0 0.3em #colour;
}

where it says colour i actually put in values for colours, but when i click submit and reload the forum the names are still the default colours with no decoration/shadow. 

If anybody knows why this is happening please let me know asap. 

Thanks so much in advance.

Hi,

It should go like this:

Code:
a[href="/u1"] {
   font-weight: bold !important;
}

If you don't know how to make a text-shadow visit http://www.css3maker.com/
Choose the option text-shadow and make your shadow. You will be provided with a code to do this style with.

candy_fear wrote:
Code:
a[href="u1"] span{
text decoration: bold !important;
text-shadow: 0 0 0.3em #ff0000 0 0 0.3em #fc2250, 0 0 0.3em #f52134;
}

Try the code again Very Happy

You're missing an / before the user ID, and it's bold is not decoration but weight.

LP
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

In progress Re: CSS stylesheet isn't having an effect on our forum

Post by levy July 13th 2013, 12:57 am

Code:
a[href="/u1"] span{
text-decoration: bold !important;
text-shadow: 0 0 0.3em #ff0000 0 0 0.3em #fc2250, 0 0 0.3em #f52134;
}

I'm sorry Smile moved too fast Smile and I wasn't careful Smile
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum