Jump to content
Sign in to follow this  
anlinares

Unique CSS Selector for h4 element

Recommended Posts

anlinares

www.outdooraddixtions.com/home In the early stages of site development! Need help figuring out how to target the title of the most recent post I have displayed on the home page. I have changed the font formatting through the 'h4' tag... but this also changes the font of the post titles in my sidebar. Using firebug but they both look the same. Help! Thank you!!

Share this post


Link to post
Share on other sites
kastelic
This should do it: [code] .entry-content h4 a.srp-post-title-link { font-size:20px; } [/code]

Share this post


Link to post
Share on other sites
anlinares
Sorry, that doesn't seem to have any effect.

Share this post


Link to post
Share on other sites
Danny
I'm sure Catrina's will work but if it doesn't, give the following a go. [code] .entry_content h4 { font-size: 24px; } [/code] If that doesn't work try this: [code] .entry_content #srp-singlepost-1 h4 { font-size: 24px; } [/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
anlinares
Thanks, everyone! Danny's first suggestion targeting ".entry_content h4" worked perfectly!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×