PDA

View Full Version : Multiple Banners - Easy vs Advanced


spsmith
Dec-01-2009, 09:54 AM
I did all of my early customizations through Easy and now want to have a different banner for some categories. I followed Ivar's tutorial:

http://dgrin.smugmug.com/gallery/1932865

but am not having success. The tutorial says that you can begin with an Easy banner and then add a category banner, but I am still getting the original banner.

http://www.spsmithphoto.com/Michigan-Tigers

So - I am definitely doing something wrong and am not sure where to begin. This is my first time working with HTML and CSS (I've worked with VB) and don't like feeling so lost, so I am using this as my chance to learn something new!

Thanks
Shaun

Allen
Dec-01-2009, 10:52 AM
I did all of my early customizations through Easy and now want to have a different banner for some categories. I followed Ivar's tutorial:

http://dgrin.smugmug.com/gallery/1932865

but am not having success. The tutorial says that you can begin with an Easy banner and then add a category banner, but I am still getting the original banner.

http://www.spsmithphoto.com/Michigan-Tigers

So - I am definitely doing something wrong and am not sure where to begin. This is my first time working with HTML and CSS (I've worked with VB) and don't like feeling so lost, so I am using this as my chance to learn something new!

Thanks
Shaun
The div name you are replacing is customLogo. Try this. Also fixes cat
name. The dash is not recognized so an _ is used.

.category_Michigan_Tigers #customLogo {
margin: 0 auto;
width: 750px;
height: 120px;
background: url(http://www.spsmithphoto.com/photos/718280975_Lr9uC-O.jpg) no-repeat !important;
}

spsmith
Dec-01-2009, 11:18 AM
The div name you are replacing is customLogo. Try this. Also fixes cat
name. The dash is not recognized so an _ is used.

.category_Michigan_Tigers #customLogo {
margin: 0 auto;
width: 750px;
height: 120px;
background: url(http://www.spsmithphoto.com/photos/718280975_Lr9uC-O.jpg) no-repeat !important;
}
That div name fixed it!! So is Ivar's tutorial wrong or is customLogo used when combining Easy and Advanced?

Shaun

Allen
Dec-01-2009, 11:35 AM
That div name fixed it!! So is Ivar's tutorial wrong or is customLogo used when combining Easy and Advanced?

Shaun
ECZ uses customLogo, but most not using ECZ, use something like
myBanner or my_banner in their user html. It can be named anything as
long as the name is only used once on the page.

So in your case it's named customLogo.

spsmith
Dec-01-2009, 11:40 AM
ECZ uses customLogo, but most not using ECZ, use something like
myBanner or my_banner in their user html. It can be named anything as
long as the name is only used once on the page.

So in your case it's named customLogo.

Is there a good reference document somewhere that describes what is used by ECZ or do you end up just looking at the source code and figuring it out from there?

Shaun

spsmith
Dec-01-2009, 06:21 PM
Is there a good reference document somewhere that describes what is used by ECZ or do you end up just looking at the source code and figuring it out from there?

Shaun

I found Ivar's guide in the Smugwiki...that will keep me busy for a while!!!

Thank you
Shaun