View Full Version : Banner help
Thirsty toad
Apr-04-2009, 01:57 PM
Having a lot of luck using your help and cut and paste. But having a problem with trying to get diffrent banner on a SUB-Gallery. I have a main gallery with 8 sub-gallerys each needing it's own banner. Can anyone help with the code.
jfriend
Apr-04-2009, 03:12 PM
If you give us a link to the sub-gallery and a link to the banner image you want, we can offer some helpful advice.
Thirsty toad
Apr-13-2009, 04:50 AM
If you give us a link to the sub-gallery and a link to the banner image you want, we can offer some helpful advice.
Thanks for getting back to me. This is the link to the gallery.
http://www.bermudablues.com/gallery/6078033_zmwHF/1/381322140_ArSsy
and this is what I would like to use as a banner in the sub cat above
http://www.bermudablues.com/photos/388382094_zVPij-L.jpg
I have quite afew sub cats in the main one and would like to have a seperate banner for each one. Thanks for your help.
jfriend
Apr-13-2009, 06:22 AM
Thanks for getting back to me. This is the link to the gallery.
http://www.bermudablues.com/gallery/6078033_zmwHF/1/381322140_ArSsy
and this is what I would like to use as a banner in the sub cat above
http://www.bermudablues.com/photos/388382094_zVPij-L.jpg
I have quite afew sub cats in the main one and would like to have a seperate banner for each one. Thanks for your help.
You almost have it right. You just didn't have the CSS class for the subcategory right. Use this:
.subcategory_Kona_Hawaii #my_banner {
background: url(http://bermudablues.smugmug.com/photos/388382094_zVPij-O.jpg) no-repeat;
}
It looks like you are trying to guess the right CSS class. You don't have to guess. Just go to that page and do a View Source in the browser. Then, scroll down to the body tag and you can see exactly what classes Smugmug is using like this:
http://content.screencast.com/users/jfriend/folders/Jing/media/959b7f0c-e5ae-4f4c-a573-12ff16f8ae69/2009-04-13_0721.png
Thirsty toad
Apr-13-2009, 07:56 AM
[quote=jfriend]You almost have it right. You just didn't have the CSS class for the subcategory right. Use this:
.subcategory_Kona_Hawaii #my_banner {
background: url(http://bermudablues.smugmug.com/photos/388382094_zVPij-O.jpg) no-repeat;
}
It looks like you are trying to guess the right CSS class. You don't have to guess. Just go to that page and do a View Source in the browser. Then, scroll down to the body tag and you can see exactly what classes Smugmug is using like this:
Thanks works a treat.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.