PDA

View Full Version : How to create underlined links in postbit text but not on the forumhome


Bram H
01-21-2010, 04:05 PM
I hope you understand what i mean with this title. This is something that is bugging me for a long time and now its time to solve it.

In general i like links to be not underline at all. Not on forumhome, navigation etc. Though with the current use of my colors its really hard to find a link in the text of posts.

Is there a way to leave the global settings of the forum untouched and only create a different colored underline link in the post text itself?

Thanks :up:

BSMedia
01-21-2010, 04:07 PM
you could try to add something like


.postcontent a:link, a:hover, a:visited {text-decoration: underline;}


to your additional.css template

Bram H
01-21-2010, 04:18 PM
Nope this affects also the forumhome etc. It should only underline the postbit links :)

Lynne
01-21-2010, 04:44 PM
Just add:
.postcontent a {
text-decoration:underline;


}

Bram H
01-21-2010, 05:25 PM
Great, thank you Lynn that worked :up:!! Can i also change the color of the link different than the one we use on the rest of the board?

Lynne
01-21-2010, 05:43 PM
Probably in the same class, yes. Just add the color property to it.

ChrisG.
01-31-2010, 05:56 AM
Nice, I assume this could also be made to work for calendar entry content?

Lynne
01-31-2010, 02:55 PM
Nice, I assume this could also be made to work for calendar entry content?
You can apply CSS to wherever you want, so yes, you could apply it to calendar entry content. Just find the class and add the css to your style.