Forums / Templates, Stylesheets, Page Layout / How do I center my logo banner

How do I center my logo banner

Locked

Views: 1,977

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
28 Aug 2008, 11:13 AM
#1
jld avatar

jld

New Zenner

Join Date:
Dec 2007
Posts:
37
Plugin Contributions:
0

How do I center my logo banner

Hi I have made my logo and banner one (1) image. It looks great on the small screen on the laptop but on larger desktops it sits left.

Can I centre it?

Johanne

28 Aug 2008, 1:08 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How do I center my logo banner

jld:

Hi I have made my logo and banner one (1) image. It looks great on the small screen on the laptop but on larger desktops it sits left.

Can I centre it?

Johanne

Check here in the Tutorials/FAQ section:
[
www.zen-cart.com/tutorials/index.php?article=125](https://www.zen-cart.com/tutorials/index.php?article=125)

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Sep 2008, 12:59 AM
#3
jld avatar

jld

New Zenner

Join Date:
Dec 2007
Posts:
37
Plugin Contributions:
0

Re: How do I center my logo banner

Hi
I have changed my Stylesheet.css to show the following

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}
#logo {text-align: center};

It still is left.
What have I done wrong please

Johanne:ohmy:

7 Sep 2008, 1:17 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I center my logo banner

You want the text-align:center; in #logoWrapper

If it still doesn't work, we'll need a link to your site.

7 Sep 2008, 1:57 AM
#5
jld avatar

jld

New Zenner

Join Date:
Dec 2007
Posts:
37
Plugin Contributions:
0

Re: How do I center my logo banner

Here is what I have still not working
#logoWrapper{
text-align:center;
background-image: url(../images/title0.gif);
background-repeat: repeat-no-repeat;
Height: 450px;
Width: 900px;
background-color: #FFFFFF;
}

7 Oct 2008, 7:17 AM
#6
jld avatar

jld

New Zenner

Join Date:
Dec 2007
Posts:
37
Plugin Contributions:
0

Re: How do I center my logo banner

Hi

Still no luck. My site is
https://www.horsemansshop.com.au

I would be gatefull for your help. I also seem to have lost my search facility and I can't remember where it is. Help please.

Thanks
Johanne:lookaroun

7 Oct 2008, 12:22 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I center my logo banner

OK, try text-align:center in headerWrapper.

BTW, I'd consider extending those gold bars above and below your logo to the right and left edges of your main wrapper.

Search boxes in both header and sidebox are controlled in Admin - Tools - Layout Boxes Controller