PDA

View Full Version : Changing the forum name link color


Guest210212002
04-07-2011, 07:24 PM
See attachment. I'm looking to change just the color of the forum links.

On my vB3 site, they're white, I'd like to keep them that way. The actual CSS that controls them is link_color, but that changes every other link on my site. (And that looks rather awful).

What's the cleanest way to go about ONLY changing the color of the forum links?

Thanks!

Guest210212002
04-07-2011, 08:04 PM
I sorted this out.

In forumhome_forumbit_level2_post:

Look for:

<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>

And add CSS around the forum title call, like so:


<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}"><div class="mg-forumtitle">{vb:raw forum.title}</div></a></h2>

In this case, I've made an "mg-forumtitle" CSS class, and wrapped that div around it.