PDA

View Full Version : Change link color/style inside posts only


kyan
11-14-2007, 02:08 PM
Hello everyone,

Is there a (preferably easy) way to change the visual appearance of hyperlinks inside posts' text without changing the rest of the forum's links?

If I change First Alternating Color. Link CSS from Style Manager any links in the forum (e.g. Forum Titles, Thread Titles etc.) follow it. I need something that will influence only hyperlinks inside posts/sigs.

TIA.

Gray Matter
11-15-2007, 07:49 PM
You could always add a new class and change the <td class="alt1/2"> inside posts to <td class="alt1/2 post_links"> or whatever.

kyan
11-16-2007, 08:58 AM
Of course! <slap forehead>

What I did was in templates postbit and postbit_legacy to add the highlighted class:

<!-- message -->
<div class="messagetext" id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
and in the Main CSS' s Additional CSS Definitions to add the class:
.messagetext A { color: green }and it works..

Thanks for your response.