Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Making a change to a banner image that doesnt change the layout of all other banners

Making a change to a banner image that doesnt change the layout of all other banners

Locked

Started by nholdstock on 12 Sep 2008, 10:57 AM · Views: 2,190

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Sep 2008, 10:57 AM
#1
nholdstock avatar

nholdstock

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Post #1 by nholdstock

Hi there,

I am new to zencart and css so needing a little guidance.

my site is: https://www.flowboards.co.za/store

You will see on my site (in firefox) that i have 2 banner images for lizzard. I am trying to center align "only" the lizzard image in the right column. I would also like to move it up, and out it right under the navbar? Every change i make in css shifts the entire page and all other text and images. However, i would like to only move this one image upwards and center align.

For some odd reason, if viewing the page in IE, then the image does appear to be centered (but not in firefox) but i still need to move the image up. Does anyone know why the different views between IE and Firefox and if there is anyway to make sure they are the same in both browsers?

I would appreciate anyones help?

Many thanks
Nick

12 Sep 2008, 2:20 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,761
Plugin Contributions:
0

Post #2 by Kim

Add to your stylesheet - #bannerbox2Content {text-align: center;}

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

12 Sep 2008, 2:30 PM
#3
nholdstock avatar

nholdstock

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Post #3 by nholdstock

Thanks.

Sorry, prob a stupid question, but do i add this to any specific place in the stylesheet? e.g. under #bannerbox2 {}

and just to confirm this must be added to stylesheet_boxes.css?

Thanks
Nick

12 Sep 2008, 2:34 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,761
Plugin Contributions:
0

Post #4 by Kim

It really shouldn't matter unless you have the same ID positioned differently somewhere else.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

12 Sep 2008, 2:37 PM
#5
nholdstock avatar

nholdstock

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

Post #5 by nholdstock

in stylesheets_boxes.css?

thanks.