Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Body Box, Create a Default Color for Bold, for Posts and Pages (http://forum.bytesforall.com/showthread.php?t=6780)

treeplant Apr 19, 2010 11:18 AM

Body Box, Create a Default Color for Bold, for Posts and Pages
 
in Atahualpa/Style POSTS & Pages/Body Box I currently have the default font style for pages-posts set like this

font-style: normal;
font-weight: normal;
line-height: 1.5em;
color: #333333;
font-size: 1.1em;
font-family: Verdana, Helvetica, Arial, sans-serif;

I want to set it so when I make something bold, it automatically changes the color for that bold section to #666666, but only for a change to bold, not the rest of the text.
How do I do that?

juggledad Apr 19, 2010 01:57 PM

assuming you are using the <strong> to set teh bold, you could add the following to the CSS Inserts
HTML Code:

.post-bodycopy strong { color: #666666;}

treeplant Apr 19, 2010 02:09 PM

Thanks.
That should work. I'd rather have the code contained in the Body Box.
Is there a way to do it there?

juggledad Apr 19, 2010 02:58 PM

no, because you want two different rules, so you must have two different CSS Selectors. The Body Box is setting the style for one selector so if you want something fancy, you need to use the CSS Inserts

treeplant Apr 19, 2010 04:39 PM

I understand now. Thanks!
I will use the CSS.


All times are GMT -6. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.