Jump to content
Sign in to follow this  
MissT

Best way to change the header image just for blog pages?

Recommended Posts

MissT

Hi there, I'd like to change the header image on the blog pages and am not sure of the best way of doing this, can anyone help please? Can I use hooks for this? I've read a few previous posts on the subject but didn't seem to find a clear answer on the best way to do this. On the following website the 'simon.says' link at the bottom of the menu goes to the blog part of the site and I want to change the 'simon.' header just on the blog pages: http://www.simondesign.co.uk/blog/newsite/projects/ Many thanks in advance to anyone that can help! Only a few more things to sort out then its done :) Tracy.

Share this post


Link to post
Share on other sites
Sourena
Do you need to add an image to the header and change it manually on every post? Or you want the header images to change randomly?

alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
MissT
I just want a different header on the blog pages so all other pages will have the current 'simon.' header image but the blog pages will have a 'simon.says' header image. So no - no random changing of the header image is required. Thanks for the comment, Any ideas? Tracy.

Share this post


Link to post
Share on other sites
Rob
Tracy, there may be plugins, but, if you look at www.epicurus.com, my site, you'll see my "Blog" and in fact any one of the menu items. Each happens to be a totally unique WP install with its own copy of PlatformPro. I could, theoretically, have any header/logo or design I want on the various sections. You might simply want to consider doing that for your blogs.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
MissT
Thanks rangelone, I'd rather find something a bit simpler if at all possible as I'd rather not have another WP install just to add a different image header to two pages. Thanks for the input though, always appreciated.

Share this post


Link to post
Share on other sites
mstmarie1
Add this to your custom CSS: #branding .branding_wrap{ background: url('http://test.pagelines.com/simon/files/2011/08/simon_logo.png') no-repeat 0 0 transparent; height:33px; } .blog #branding .branding_wrap{ background: url('SIMON SAYS LOGO URL') no-repeat 0 0 transparent; height:33px; }

Share this post


Link to post
Share on other sites
MissT
Thank you so much mstmarie1! That worked a treat - I added a bit more to cover the additional blog pages activated when category, archive and tag cloud links are clicked: #branding .branding_wrap{ background: url('http://www.simondesign.co.uk/blog/images/header/simon-logo.png') no-repeat 0 0 transparent; } .blog #branding .branding_wrap{ background: url('http://www.simondesign.co.uk/blog/images/header/simonsays-logo.png') no-repeat 0 0 transparent; } .archive #branding .branding_wrap{ background: url('http://www.simondesign.co.uk/blog/images/header/simonsays-logo.png') no-repeat 0 0 transparent; } Many thanks! Tracy :)

Share this post


Link to post
Share on other sites
mstmarie1
Awesome! Hey, just to satisfy my own curiosity, why did you arrange the header in such a custom fashion?

Share this post


Link to post
Share on other sites
rpacker
I just noticed your interesting solution to changing the header. I was able to replicate the custom CSS, but I don't see how it changes on different types of pages, for example: single post, category page, feature page, carousel page, default page, etc. How would you differentiate these different types of pages to change the header on each? Also, how would you add a link to each header? Thank you.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
Rob
Russell, If you need a totally different link in each header as well as a unique image, your best bet's going to be a WPMU installation and multiple child themes, each with their own header/links. No theme or platform is designed to accommodate one installation with multiple headers.

Former PageLines Moderator, Food Expert and Raconteur

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  

×