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
  #1  
Old 10-25-2012, 07:02 PM
toddo toddo is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2010
Posts: 109
Default H2 Page Titles - Styling Only for Blog

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  
Old 10-25-2012, 11:55 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

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  
Old 10-26-2012, 10:55 AM
toddo toddo is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2010
Posts: 109
Default Site Link

Here's the link: http://www.originalginger.com/blog/
  #4  
Old 10-26-2012, 10:58 AM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

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  
Old 10-26-2012, 11:09 AM
toddo toddo is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2010
Posts: 109
Default

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;
}
Hmmmm, maybe a cacheing issue because now I see some change...
  #6  
Old 10-26-2012, 12:31 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

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  
Old 10-26-2012, 02:55 PM
toddo toddo is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2010
Posts: 109
Default

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  
Old 10-26-2012, 03:14 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

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  
Old 10-26-2012, 03:45 PM
toddo toddo is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2010
Posts: 109
Default

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  
Old 10-26-2012, 03:57 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

"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  
Old 10-26-2012, 05:12 PM
toddo toddo is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2010
Posts: 109
Default

Thank you.
  #12  
Old 10-26-2012, 06:18 PM
SoZo's Avatar
SoZo SoZo is offline
Community Moderator
 
Join Date: Oct 2008
Location: Minneapolis, Minnesota
Posts: 47,500
Default

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

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


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

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