View Full Version : I Know This Has Been Posted, But I Can't Find It
rouxster
Aug-01-2008, 07:23 AM
I am looking to find out how I can add a second banner below my current banner only to my homepage. I have been searching for a day now. Thanks.
==========
http://www.nolaphotography.net
Allen
Aug-01-2008, 08:09 AM
I am looking to find out how I can add a second banner below my current banner only to my homepage. I have been searching for a day now. Thanks.
Welcome to Dgrin :wave
Got a link to your site?
rouxster
Aug-01-2008, 08:16 AM
Sorry about that. Here it is.
http://ryanroux.smugmug.com
==========
http://www.nolaphotography.net
Allen
Aug-01-2008, 08:28 AM
I am looking to find out how I can add a second banner below my current banner only to my homepage. I have been searching for a day now. Thanks.
You couild just add another in your header.
<div id="my_banner2">
<a href="http://ryanroux.smugmug.com">
<img src="/img/spacer.gif" alt="" border="0" height="50" width="550">
</a></div>
And add supporting CSS
#my_banner2 {
width: 500px;
height: 50px;
margin: 20px auto;
background: url(http://ryanroux.smugmug.com/photos/342711611_7a35a-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaIma geLoader (enabled=true,
sizingmethod=image, src='/photos/342711611_7a35a-O.png');
}
rouxster
Aug-01-2008, 08:41 AM
I thought it would be that simple, but for some reason, I thought that there were other steps than that. Thanks anyway. How do I get it to only show on my home page. The reason I'm asking is because I'm not sure if the average joe or less than average joe would know to click on the picture to enter the site. So, I was going to add a second banner to say something to the effect of click on the picture below to enter the site. That is, unless there are other, more creative ways of telling the visitor how to get in the site. Thanks for your help and as usual, the support is great - bery prompt replies!
==========
http://www.nolaphotography.net
Allen
Aug-01-2008, 08:59 AM
I thought it would be that simple, but for some reason, I thought that there were other steps than that. Thanks anyway. How do I get it to only show on my home page. The reason I'm asking is because I'm not sure if the average joe or less than average joe would know to click on the picture to enter the site. So, I was going to add a second banner to say something to the effect of click on the picture below to enter the site. That is, unless there are other, more creative ways of telling the visitor how to get in the site. Thanks for your help and as usual, the support is great - bery prompt replies!
You could add this to CSS
#my_banner2 {display: none;}
.homepage #my_banner2 {display: block;}
rouxster
Aug-01-2008, 10:32 AM
That worked great! Now, if I wouldn't have made a typo in my graphic, it would be fine. Back to PS. Thanks again.
==========
http://www.nolaphotography.net
joviphoto
Aug-29-2008, 03:29 AM
You could add this to CSS
#my_banner2 {display: none;}
.homepage #my_banner2 {display: block;}
I'd like my "only" banner to point to my home page. I copied this code into my CSS after my banner insertion code then deleted the "2". I didn't get the link. How do I do this for the main banner? Thanks!
Allen
Aug-29-2008, 06:39 AM
I'd like my "only" banner to point to my home page. I copied this code into my CSS after my banner insertion code then deleted the "2". I didn't get the link. How do I do this for the main banner? Thanks!
Looks like you got. First turn off everywhere and the turn on for specific pges.
joviphoto
Aug-29-2008, 07:27 PM
Looks like you got. First turn off everywhere and the turn on for specific pges.
Thanks, Al! :ivar
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.