Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Logo and side box headers

Logo and side box headers

Locked

Views: 1,596

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
19 Mar 2009, 7:18 PM
#1
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Logo and side box headers

Hi guys,
I've been pulling my hair trying to fix this problem. My site looks fine until i insert my logo. On IE looks well but on firefox there is a white line on top go figure!
For the love of me the headerwrapper and logowrapper don't have any marging/padding on top... I just don't know why this white line shows.
This is a copy of my english php:
[COLOR="Black"][COLOR="DarkRed"]
[COLOR="DarkRed"]// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
define('HEADER_SALES_TEXT', '<h1></h1>');
define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
define('HEADER_LOGO_IMAGE', 'logo.png');

Now if you take a look at my left side and right side column header they don't show complete. My image is 150px by 30px and it seems that the headers have different dimensions.
here is my site: https://www.onwrap.com

another quick question since we are already here :) how do I change the color of the text where it says Home.

19 Mar 2009, 8:24 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Logo and side box headers

<div id="taglineWrapper"> <div id="tagline"> <h1/> </div>

now how that got in there i am not sure . you may want to see where you added that using Developer tool kit in admin section .

19 Mar 2009, 8:46 PM
#3
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Logo and side box headers

Do I need to erase it?
There was written: TAG LINE HERE or Sales line here... do you think it has to do with it?

From my stylesheet:

#tagline {
color:#000000;
font-size: 2em;
text-align : center;
vertical-align: middle;
}
I don't see tadwrapper in my stylesheet

Thank you

19 Mar 2009, 8:54 PM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Logo and side box headers

thats not part of your CSS , that tag has been added directly to core file .

look at tpl_header.php that is located in Common folder under your Costume template override.

see if you can spot that tag there if so remove it .

19 Mar 2009, 9:39 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Logo and side box headers

define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
define('HEADER_SALES_TEXT', '<h1></h1>');
define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
define('HEADER_LOGO_IMAGE', 'logo.png');

also in your english.php try to remove those H1 tags.
since you are not using tagline that might also be the reason ..

make sure your define is like this
define('HEADER_SALES_TEXT', ' ');

20 Mar 2009, 12:23 PM
#6
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Logo and side box headers

:clap::clap: Thank you so much!! I've spent hours trying to figure out what was wrong!!! I tried it in my pc haven't tried it online but it works!!! yeeeeee!! :smile:

Do you know by any chance where can I control the size of the side column headers and what's written on them? For instance, Instead of saying manufacturer, I'd like it so say designer....

How can I change the white font color from Home/ login? I can't find it in the stylesheet.

20 Mar 2009, 12:47 PM
#7
stevesh avatar

stevesh

Black Belt

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

Re: Logo and side box headers

The Home / Login would be under navMainLinks in the stylesheet.

The sidebox headers are under leftBoxHeading and rightBoxHeading.

Use the Admin - Tools - Developers Tool Kit to find where the words you want to change are defined, then edit that file. Don't forget to use the override system.

25 Mar 2009, 5:44 PM
#8
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Logo and side box headers

Thanks Stevesh,
I changed the #mainwrapper font color and it worked.