Jump to content
Sign in to follow this  
lrprlauren

Custom CSS only sometimes affects end-result

Recommended Posts

lrprlauren

I have entered a new definition for <h2> in custom CSS. This works great on all the pages. It does not work on the Blog page. Can anyone please help me resolve this issue? Thanks CSS Code used in Custom CSS: ` h2 { font-size:22px; font-weight:Bold; line-height:21px; margin-bottom:10px; color: #c13100; text-align: center; } `

Share this post


Link to post
Share on other sites
timlinson

Can you post a link? It might need more selectors on the blog page like `.blog h2 {` or more.

Share this post


Link to post
Share on other sites
lrprlauren

Forgot to say: The second title on the about page and on the client-list page are h2.

Share this post


Link to post
Share on other sites
timlinson

Oh ok, I think the problem is that the blog page headers have a link inside, but the others don't. Try changing: `h2 {` to: `h2, h2 a {`

Share this post


Link to post
Share on other sites
lrprlauren

PERFECT! Thank you! Can you explain why this worked so that I can understand it for any other similar problems that might arise? Thanks.

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  

×