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 »

Any way to display the header on the home page only?


  #1  
Old Dec 23, 2009, 07:06 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Hi,
Is there any way to the display the header, including blog title and tagline, on the home page only? I am asking because my other pages have titles of their own. As a result I get this:

Blog title
Tagline
Page title
Subpage title

which seems too much.

Should I go for no blog title and tagline at all, and display an image which includes both on the home page instead? But then the image would be displayed on all the other pages as well, right? Also, would that be advisable, SEO-wise?

Thanks!
  #2  
Old Dec 24, 2009, 07:46 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this
HTML Code:
/* ================================================ */
/* CSS to remove header image area from all pages   */
/* ================================================ */
div.header-image-container {
	display: none !important; 
}
/* ================================================ */
/* CSS to display header image area on home page    */
/* ================================================ */
body.home div.header-image-container {
	display: block !important; 
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 10, 2010, 11:57 PM
Zona
 
30 posts · Jan 2010
For some reason this code does not work for me. I am also trying to have the header image/logo only appear on the home page.

Any other suggestions for what might work?
  #4  
Old Jan 11, 2010, 06:17 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Zona
what version of Atahualpa and WP?
What is your url?
Do you have any plugins that might effect the header (like dynamic-headers)?
What have you got set at dashboard->settings->reading->Front Page displays?

I just tested this and it worked for me
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 11, 2010, 08:37 PM
Zona
 
30 posts · Jan 2010
Hi Juggledad: Thanks for the reply. I am running Atahualpa 3.4.4 My site is: vegansprout.com

The code you provided IS now working for me.

If I had to take a guess... the reason it wasn't working was the multiple codes I had in CSS Inserts. It was working at one time and then I added the code to correct the vertical scroll bar (see my other post) and some how the command for the header didn't work any more.

Any advice for putting in multiple codes in CSS Inserts? (Maybe I deleted the final bracket in the command... I'm not sure what happened)

Here is what I currently have the following in CSS Inserts and it all seems to be working now:

html {
overflow: -moz-scrollbars-vertical;
overflow: scroll;
}
ul.rMenu li {
position: relative;
left: 275px;
}
/* ================================================ */
/* CSS to remove header image area from all pages */
/* ================================================ */
div.header-image-container {
display: none !important;
}
/* ================================================ */
/* CSS to display header image area on home page */
/* ================================================ */
body.home div.header-image-container {
display: block !important;
}


Thanks again for your help!
  #6  
Old Jan 12, 2010, 05:35 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Advice...put a blank line between each and make sure they have those closing brackets. I've been known to delet that myself or mis-type the name of something myself (did you know that backgroound doesn't do anything!)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jan 21, 2010, 01:30 PM
mryle
 
2 posts · Jan 2010
I can see that this works to put the image header on the home page only. Is there a way of putting the image header on some pages and not others? Thanks. M
  #8  
Old Jan 21, 2010, 01:45 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I like the way the Dynamic Headers Plugin works as in this thread.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Jan 21, 2010, 01:58 PM
mryle
 
2 posts · Jan 2010
I did read this thread, and will probably use the plugin. However, does it provide the options of not having a header image at all?
  #10  
Old Jan 21, 2010, 02:24 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Yes it does. If you go to www.cnyrealty.net you will see the image I set for the home page. If you Click on the title of that post or the See the full listing link you will see no header and if you click on Mortgage Calculator you will see another header. You can set a random header or a default header as well if you like.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #11  
Old Jan 9, 2015, 03:14 AM
mk11sandiego
 
10 posts · Nov 2011
Quote:
Originally Posted by juggledad
try this
HTML Code:
/* ================================================ */
/* CSS to remove header image area from all pages   */
/* ================================================ */
div.header-image-container {
	display: none !important; 
}
/* ================================================ */
/* CSS to display header image area on home page    */
/* ================================================ */
body.home div.header-image-container {
	display: block !important; 
}


this code worked up until yesterday.
But today, all of the sudden, anything from the "Various Content Items" isn't working...

Last edited by mk11sandiego; Jan 9, 2015 at 10:42 AM.
  #12  
Old Jan 9, 2015, 05:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What did you change?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
header, home page only



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating Header Images link to Different pages instead of home page? WordPressZen.com Header configuration & styling 10 Oct 13, 2010 01:41 PM
Replace header image with flash on home page only shumes1025 Header configuration & styling 4 Oct 15, 2009 06:04 PM
Remove header on home page petebarnes Header configuration & styling 2 Aug 20, 2009 06:13 AM
Single Header image on home page Lok52 Header configuration & styling 0 Apr 20, 2009 05:44 PM
Header image displays on all pages BUT the HOME page imabeliever Header configuration & styling 3 Apr 14, 2009 07:05 AM


All times are GMT -6. The time now is 12:54 AM.


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