Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Removing header image on a per page basis


  #1  
Old Mar 25, 2009, 05:01 AM
drewpasmith
 
18 posts · Mar 2009
[SOLVED] Removing header image on a per page basis

Hi all,

Just wondering if I can selective remove the header from one page but keep it on all others?

Cheers,

Drew
  #2  
Old Mar 25, 2009, 10:06 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
This can be done with a simple CSS Insert in 3.2.1.

HTML Code:
body.page-XX div.header-image-container {
display: none;
}
XX = ID of the page in question

In the current 3.2 it would require file edits which I don't recommend as 3.2.1 is coming within this week.
  #3  
Old Mar 26, 2009, 07:22 AM
drewpasmith
 
18 posts · Mar 2009
Hi Flynn,

Thanks for your speedy reply. Looking forward to the update already!

Cheers,

Drew
  #4  
Old Mar 29, 2009, 10:21 AM
SoftDux
 
2 posts · Mar 2009
Johannesbugr, South Africa
Quote:
Originally Posted by Flynn
This can be done with a simple CSS Insert in 3.2.1.

HTML Code:
body.page-XX div.header-image-container {
display: none;
}
XX = ID of the page in question

In the current 3.2 it would require file edits which I don't recommend as 3.2.1 is coming within this week.
Hi Flynn,

Where exactly do I add this code?
  #5  
Old Mar 30, 2009, 01:18 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The actual code in 3.3.1 is slightly different. All <BODY> tags get a class, some an ID too, all starting with body-

Add this as HTML/CSS Inserts -> CSS Insert

HTML Code:
body#body-page-XX div.header-image-container {
display: none; 
}
Replace XX with the ID of the page in question.

You could style (or remove) other layout parts as well. I.e. remove the heading from "Page" pages. This time using the class "body-page" instead of the ID "body-page-XX" because we want all "Page" pages, not just a specific one

HTML Code:
body.body-page div.post-headline {
display: none; 
}
However "Page" page containers get an additional class of "page" (in addition to "post") in 3.3.1 so this should work as well

HTML Code:
 div.page div.post-headline {
display: none !important;
}
I've added !important here as the same container has the class "post" as well, to make sure one class ("page") can overwrite the other class ("post").
  #6  
Old Apr 1, 2009, 01:57 PM
d_random
 
51 posts · Apr 2009
AWESOME THEME!
I have the opposite request, header image on the main page, all others no header.
Any help?
  #7  
Old Apr 2, 2009, 02:55 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try this as HTML/CSS Inserts -> CSS Inserts

HTML Code:
div.header-image-container {
display: none; 
}
body.body-homepage div.header-image-container {
display: block; 
}

Last edited by Flynn; Apr 6, 2009 at 11:15 AM. Reason: Changed div.body-homepage to body.body-homepage

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Page titles in single pages with out removing post titles robertbrand Atahualpa 3 Wordpress theme 7 Jun 21, 2011 10:33 AM
Removing header, footer and sidebars for a "splash" page mactony Header configuration & styling 29 Jun 9, 2010 07:10 PM
[SOLVED] Page Menu on Header image dougfoot Page & Category Menu Bars 3 May 30, 2009 04:37 PM
removing tagline from 'search box' area of header kiddio Header configuration & styling 1 May 28, 2009 05:02 PM
Diff Header Image Per Page? CondoAnalysis Header configuration & styling 3 Mar 19, 2009 02:59 AM


All times are GMT -6. The time now is 06:58 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.