![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I would like to add a separate style for the H2 page title tags in my blogroll and blog pages, than the style I have for the rest of my pages. I thought that identifying it in CSS by .page-id-53 h2 would work but it didn't. Can anyone help?
|
|
#2
|
||||
|
||||
|
Please include a link to your site with all questions.
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#3
|
|||
|
|||
|
Here's the link: http://www.originalginger.com/blog/
|
|
#4
|
||||
|
||||
|
That page doesn't have a body class of .page-id-52. These are the body classes
<body class="page page-id-29 page-template page-template-page_blog-php header-image full-width-content">
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#5
|
|||
|
|||
|
Yes, I did use the correct page id - I was just giving an example in my previous post. The CSS is not working for me. I'm obviously doing something wrong. I wanted to change just the H2 title margins and just on the blogroll and post pages. An example of the code I tried:
Code:
.page-id-29 h2 {
margin: 10px 0px 15px 51px;
}
|
|
#6
|
||||
|
||||
|
So you're all set then?
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#7
|
|||
|
|||
|
I still can't figure out how to also adjust the margin on the post title when you click the post through to it's own page if that makes any sense...
|
|
#8
|
||||
|
||||
|
The title on the single post page is wrapped in h1 tags not h2 tags.
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#9
|
|||
|
|||
|
So how do you accomplish that given that every single post has it's own separate page. We have over 50 posts. Is there a way to style all post page h1 titles in a certain way without affecting the h1 title everywhere else on the site? Appreciate your help with this by the way..
|
|
#10
|
||||
|
||||
|
"single" is a body class applied to all single pages
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#11
|
|||
|
|||
|
Thank you.
|
|
#12
|
||||
|
||||
|
You're welcome
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
| Tags |
| separate h2 style for blogroll only |
| Thread Tools | |
| Display Modes | |
|
|
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us