StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-02-2009, 09:15 PM
PeterV PeterV is offline
Registered User
Pro Plus Member
 
Join Date: Jun 2009
Location: Montreal, Canada
Posts: 8
Default Applying h1 style in home.php

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 09:24 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.