MyBB Community Forums

Full Version: Post body CSS color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What class would I use in the CSS to target links only in the post body? When I try it, it changes the colors of ALL links.
Use;
.post_body a:link{
// your code goes here
}
Hi jmeeter,

postbit_classic template (other 'postbit' template == the same or very similar related code)
<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				{$post['message']}
			</div>

Looks like you can add your own "custom class" here, and then define it in the global CSS.

#
@Yaldaram:
I don't see the "post_body" class in the template; Guess I missed it, thanks.
Thanks so much guys! Smile