MyBB Community Forums

Full Version: postbit link color?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't seem to find the way to add a new style to links in postbit message? I only want to change color of the links in the message not the entire postbit section?
Something like:

#posts a:link { color: #0066FF; }
#posts a:visited { color: #0099FF; }
#posts a:hover { color: #6600FF; }
#posts a:active { color: #6644FF; }
Thanks man very much listen I think I only need

#posts a:link { color: #0066FF; }
#posts a:hover { color: #6600FF; }

What do you think do I need all of them?

It has affected all links in the post but I only wish to the link in the post to be affected any idea?
Don't skip. either declare only 'a' or cover all pseudo.

#posts a:link, #posts a:visited { color: #0066FF; }
#posts a:hover, #posts a:active { color: #6600FF; }

to target certain area in the post you have to add custom class to that section in postbit / postbit_classic template and style accordingly.
Dear effone thanks very much for your support.

.post_body a {
color: #FF0000;
}

P.S. is it

.something a {}
or
.something a:link {}
.something a {}

means all the four:

.something a:link, .something a:visited, .something a:hover, .something a:active {}

So, if you use
.something a {}
it will affect to all the four states.
Thanks very much again buddy.
I needed help with this also, got the answer thank you!