Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

How to have banner ONLY on Home Page???


  #1  
Old Mar 1, 2013, 07:31 PM
wskdigital
 
18 posts · Feb 2013
I was wondering if anyone knew how to have an additional banner show up only on the home page.

I'm already using "%image" in the Configure Header Area for my logo. I need to add a banner below it that will only show up on the home page. Any suggestions?

Thanks.
  #2  
Old Mar 1, 2013, 10:05 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Underneath %image wrap an image in a div with a class or ID and style as you wish. To have it only show on the home page add something like the following to CSS Inserts
HTML Code:
#secondimage {display: none;}
body.home #secondimage (display: block;)
The ID that I named secondimage could be anything that isn't in use on the site. What this does is hides the image everywhere and then the second line shows it on the home page. But double check that body.home is correct by looking at the page source and searching for body.
__________________
~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.
  #3  
Old Mar 2, 2013, 12:16 AM
wskdigital
 
18 posts · Feb 2013
Thanks for the help. I'll try it tomorrow, it's late here. One question though. With the instructions you gave me, will the height be automatically regulated? For example: On the home page I will need an extra 200-300 pixels of height between the logo area and the website body, while on other pages and posts I do not.
  #4  
Old Mar 2, 2013, 07:38 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I'm not quite sure what you mean. The instructions just explain how to put an image only on the home page. Do you want extra spacing above and below the image on the home page?
__________________
~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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to change just home page ad banner Disciplyne Header configuration & styling 3 Nov 13, 2011 11:42 AM
Home Page named Home, Exclude page id from menu SharonJ Page & Category Menu Bars 13 Oct 29, 2010 10:14 PM
Home page - 4 to 6 containers on home page based on category hmeguro Center area post/pages 1 Oct 11, 2010 05:50 AM
getting banner at top of page ofpeb Header configuration & styling 1 Apr 29, 2009 07:19 PM


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


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