Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Body Box, Create a Default Color for Bold, for Posts and Pages


  #1  
Old Apr 19, 2010, 11:18 AM
treeplant
 
35 posts · Mar 2010
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?

Last edited by treeplant; Apr 19, 2010 at 11:20 AM. Reason: didn't finish
  #2  
Old Apr 19, 2010, 01:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 19, 2010, 02:09 PM
treeplant
 
35 posts · Mar 2010
Thanks.
That should work. I'd rather have the code contained in the Body Box.
Is there a way to do it there?
  #4  
Old Apr 19, 2010, 02:58 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Apr 19, 2010 at 05:28 PM.
  #5  
Old Apr 19, 2010, 04:39 PM
treeplant
 
35 posts · Mar 2010
I understand now. Thanks!
I will use the CSS.

Bookmarks

Tags
body box, bold color

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get text-align justify to be the default for posts and pages GlobalNeat Center area post/pages 1 Feb 23, 2010 06:39 AM
[SOLVED] How to create links in posts and pages lmt Center area post/pages 8 Jan 22, 2010 08:57 PM
[SOLVED] Font on Posts and Pages is WHITE by default? michael1 Post-Kicker, -Byline & -Footer 2 Dec 4, 2009 11:27 AM
Posts below Pages in the Body....How to? ryguy Post-Kicker, -Byline & -Footer 1 Jun 20, 2009 12:55 PM
Body text on Homepage bold where it shouldn't be ccw Atahualpa 3 Wordpress theme 1 Apr 22, 2009 08:06 PM


All times are GMT -6. The time now is 03:24 AM.


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