![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello!
First time poster on this forum. I tried to look for an answer to my problem, but I think I am having trouble articulating it, much less using the right search terms for it... This is what the relevant bit of my home.php looks like: <div id="content"> <div id="homepage"> <<h1>Do you want to attract more clients?</h1> The h1 style takes its settings from the "content" section in the stylesheet, which for me looks like this: #content h1 { color: #E86316; font-size: 22px; font-family: Arial, Tahoma, Verdana; font-weight: bold; margin: 0px 0px 5px 0px; padding: 10px 0px 0px 0px; line-height: 28px; } I want to make the h1 style larger. However manipulating the font-size in "content h1" also changes the blog post titles, which I don't want. So, I figured that I could add a style "homepage h1" under "homepage" to create the effect I want. So, I created this section: #homepage h1 { color: #E86316; font-size: 32px; font-family: Arial, Tahoma, Verdana; font-weight: bold; margin: 0px 0px 5px 0px; padding: 10px 0px 0px 0px; line-height: 36px; } Unfortunately, this has not changed a thing. Shouldn't "homepage", being a descendant of "content", take precedence? Perplexing for a customization newbie like me.... Thanks to anyone who can give me a hint. PeterV
__________________
Best, Peter Vogopoulos www.marketingforrealresults.com "Fixing it myself: I am an engineer.... that means I know enough to be dangerous, but not actually accomplish anything in Wordpress." |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Education theme - Applying to US Universities | app2us | General Discussion | 2 | 09-23-2010 08:32 AM |
| Theme not previewing or applying it seems | IconicImagery | General Discussion | 13 | 07-21-2009 08:04 AM |
| Applying Property Details to all posts | klew | General Discussion | 2 | 03-03-2009 03:38 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us