Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Banner Ad placement?

Banner Ad placement?

Locked

Views: 1,563

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Jun 2007, 10:03 PM
#1
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Banner Ad placement?

Is it possible to fine-tune the position of ads in Header Position 2? HP2 is the closest to where I need the banner, but not quite close enough. I need it to move down a little more.
thanks

6 Jun 2007, 12:32 AM
#2
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: Banner Ad placement?

nevermind I figured out how but it didn't work anyways.

6 Jun 2007, 8:50 PM
#3
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: Banner Ad placement?

I found a very simple solution for anyone who wants to add a rotating banner with customized links to the header. And it is by using the banner manager, lol! I had given up on it (see above) but I started trying again and figured it out! First open up your template's stylesheet.css (YOUR_STORE/includes/templates/YOUR_TEMPLATE/css/stylesheet.css) and find the section that says:

.centerColumn, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
	padding: 0px;
	}

Modify it to read like this:

.centerColumn, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
	padding: 0px;
	float: right;
       }

(Or float left, whichever side you want it).

Then create a banner the same height as your logo/header, (make it as wide as you wish). Upload it to your preferred directory, then go to the Banner Manager and create a new ad, use the image you just created, put in whatever link you want. Add it to the group "wide-banners". Then, using the Layout Settings from the Admin tab, set the banner group "wide-banners" to use the Header Position 2. Presto!

I'll post the working link in a bit, when I get my header images finished.

7 Jun 2007, 7:20 PM
#4
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: Banner Ad placement?

Here's a link to the site. (Still in devel). There are currently 2 banners being rotated in the header. If you look closely, (right click & view background image) you'll see that the header is comprised of two images: header_bg, which has a white section (which is hidden behind the banner) and the banner itself, which is designed to seamlessly merge with the header_bg.
http:/www.edgeandengine.com/store