PDA

View Full Version : changling link color inside a post


omniqix
05-28-2010, 02:01 AM
Links on my forum are dark green (changed through stylevars->link-> link_color)

I want link inside posts though to be a different color since right now they indestinguishable from regular text. If I change the link stylevar it changes the color for the whole site. I just want the links in posts to be a different color.

Anyone know how to do that?

Lynne
05-28-2010, 12:16 PM
/* change link color in posts */
.postcontent a {color:pink;}

RaSa
06-20-2010, 05:52 AM
Where do I put this Code? TX!

edit:

OK. Put it in Admincp -> Styles & Templates --> Style Manager [your_style] , expand Stylevars --> CSS --> additional.css

It works fine, thank you Lynne!

Lynne
08-07-2013, 03:02 PM
The code I posted, if put into the additional.css template, should only change the color of links in posts. If you want to change the color for hovering over links in posts, then add this:

/* change link color in posts */
.postcontent a {color:pink;}
.postcontent a:hover {color:red;}

Lynne
08-07-2013, 08:25 PM
This is the vB4 section, not vb3. There is no additional.css template in vb3.