Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Centering logo issues

Centering logo issues

Locked

Views: 829

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Jul 2008, 7:41 AM
#1
apotterdd avatar

apotterdd

New Zenner

Join Date:
Jul 2008
Posts:
39
Plugin Contributions:
0

Centering logo issues

I'm having a problem centering my logo on my main site and I know it's due to the header_sales_text constant. How do I completely remove that? I tried commenting the line out but that doesn't work as it'll pull up the constant name. There has to be another file it's pulling it from and I've been looking for an hour and can't find it.

Any help is appreciated.

27 Jul 2008, 7:43 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Centering logo issues

Could you post your site URL?

27 Jul 2008, 7:47 AM
#3
apotterdd avatar

apotterdd

New Zenner

Join Date:
Jul 2008
Posts:
39
Plugin Contributions:
0

Re: Centering logo issues

Sure

http://www.mddu.com/shop

I have them set to have nothing as the text i.e. header_sales_text='' so you won't see any text but I'm sure that's what's keeping it from centering.

27 Jul 2008, 8:16 AM
#4
apotterdd avatar

apotterdd

New Zenner

Join Date:
Jul 2008
Posts:
39
Plugin Contributions:
0

Re: Centering logo issues

I commented those lines out again and it's showing up as the constant name. Also, where in the files would I physically place center tags so the logo will get centered.

I just want to get rid of that header_sales_text. I have no use for it.

Thanks

27 Jul 2008, 8:57 AM
#5
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Centering logo issues

Firstly, don't comment out anything...

Then in

This code is from catalog/includes/languages/english/your_template/header.php

Make sure:-

define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '750px');
define('HEADER_LOGO_HEIGHT', '104px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

Then, in your stylesheet...

#taglineWrapper, #tagline {display:none;}

Then, re-create your logo.gif so that it corresponds with the dimensions in header.php above - centering the graphic as follows:

28 Jul 2008, 4:12 AM
#6
apotterdd avatar

apotterdd

New Zenner

Join Date:
Jul 2008
Posts:
39
Plugin Contributions:
0

Re: Centering logo issues

Thanks. Got it all done and even found the page so I could physically get it centered.

Thanks again.

Anita