Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I center my headerpic

How do I center my headerpic

Locked

Views: 879

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Dec 2009, 9:25 AM
#1
yesmun avatar

yesmun

New Zenner

Join Date:
Dec 2009
Posts:
2
Plugin Contributions:
0

How do I center my headerpic

Hi Guys

I'm having a problem trying to center my headerpic in Zen Cart 1.3.8a, I have tried following the instructions in this thread http://www.zen-cart.com/forum/showthread.php?t=38607 but it still does not center the headerpic.

Is it the same to center your logo as your headerpic? I have just changed the headerpic to my logo but have not set it as a logo or anything.

My site address is https://www.atlantis.co.zw

I am using the free template 1.

Any help would be greatly appreciated.

29 Dec 2009, 1:17 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How do I center my headerpic

You have:

#headerpic {
background: url("../images/headerpic.jpg");
background-repeat: no-repeat;
width: 850px;
height: 176px;
position: center;

It should be:

#headerpic {
background: url("../images/headerpic.jpg");
background-repeat: no-repeat;
width: 850px;
height: 176px;
margin: auto;

17 Jan 2010, 9:23 PM
#3
yesmun avatar

yesmun

New Zenner

Join Date:
Dec 2009
Posts:
2
Plugin Contributions:
0

Re: How do I center my headerpic

Thank you it worked.