The Arcive of vBulletin Modifications Site. |
|
Change link color only in post and/or cms articles Details »»
|
|||||||||||||||||||||||||||||
|
Change link color only in post and/or cms articles
Developer Last Online: May 2017
Was looking how to change link colors only in posts and found how todo this here on the forum posted by Lynne.
add to additional.css Code:
/* change link color in posts and sigs*/
.postcontent a {color:#356fb7;}
.signature a {color:#275187;}
/* change link hover color*/
.postcontent a:hover {color: red;}
.signature a:hover {color: red;}
Also here is the code for cms article and article homepage preview Code:
/* change link colors in cms articles*/
.article a {color: #336699;}
.article_preview_contents a {color: #336699;}
.article a:hover {color: #CC0000;}
.article_preview_contents a:hover {color: #CC0000;}
change colors to suit you ![]() Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
worked like a charm (ver 4.0.8 p1)
rated, installed thanks EDIT: If you want to make your links BOLD add this code at the bottom post - .postcontent a {font-weight: bold;} sig - .signature a {font-weight: bold;} |
|
#3
|
|||
|
|||
|
thanks..
|
|
#4
|
|||
|
|||
|
Thumbs up!
If I want it underlined, what is the code when? |
|
#5
|
|||
|
|||
|
Underline
Code:
text-decoration: underline; eg. Code:
.postcontent a {color:#356fb7; text-decoration: underline;}
|
|
#6
|
|||
|
|||
|
Perfect, thanks.
========= Is it possible to take it a bit longer? I thought if you could make some code that allows it come up a box when doing mouseover, I would for example like that it said that: "You are about to leave ****** Forum The page you are about to visit is not ****** Forum. ****** Forum takes no responsibility for the material you find on the linked URL." ..or something like that ..
|
|
#7
|
|||
|
|||
|
Installed and working
4.1.2
|
|
#8
|
|||
|
|||
|
tks man ! great work
|
|
#9
|
||||
|
||||
|
thanks
working 4.1.2 |
|
#10
|
|||
|
|||
|
I just find out that vb4 has already this option and more under stylevar>link
![]() link color-Undeline-aboveline-blink et cetera |
![]() |
|
|