The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forum Title color

View previous topic View next topic Go down

Solved Forum Title color

Post by PA on August 23rd 2015, 8:09 am

Hello, on my forum pottersarmy.net (phbb3) I have a CSS code that changes the color of the links on my forum.
However I want the color of my forum title (that are also links) to a different color.

By forum title I mean the links you click on at the index page to go the individual forums.

Should be easy to do..

This is the CSS that changes the colors of the links, I want to keep this, but I dont want it to affect my forum titles
Code:
a:link, a:visited, a:active {
text-decoration: none;
color: #A13030;
}
a:hover {
color: #3E5E5E;
text-decoration: none;
}



PS: I realize I can do that by editing the color of each forum directly, but that would take too long.

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Solved Re: Forum Title color

Post by Ange Tuteur on August 23rd 2015, 10:34 am

Hi @PA,

I can't tell directly since your forum is on maintenance, but normally when a style doesn't apply you can use the !important flag to override other styles.

Code:
a:link, a:visited, a:active {
  color: #A13030 !important;
  text-decoration: none;
}

a:hover {
  color: #3E5E5E !important;
  text-decoration: none;
}

If that doesn't work, then there's most likely a tag inside that element with an inline style. That can also be overridden simply by referencing the element and using the !important flag.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Forum Title color

Post by PA on August 23rd 2015, 11:52 am

yep! That was it. I just had to use a.forumtitle tag with the !important flag. Thanks anyway Ange. Nice to see you are still around.
You can mark this as solved.

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Solved Re: Forum Title color

Post by Ange Tuteur on August 23rd 2015, 1:16 pm

No problem, it's good to see you. ^^

Topic archived

Have a good day. Smile

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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