Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help with logo background color?

Help with logo background color?

Locked

Views: 1,507

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Jul 2006, 9:33 AM
#1
hovis1109 avatar

hovis1109

New Zenner

Join Date:
Jul 2006
Posts:
2
Plugin Contributions:
0

Help with logo background color?

Hi. I'm a newbie here at Zen-cart and can i just say that i think this forum is wonderful. This is my first post i have had to make due to the great help provided by its creators on the forum.
Anyway on my site i have a cream border around my logo but cannot get rid of the white border below my logo. http:https://www.terracewear.co.uk/shop

I can change its color to my border color by changing the #mainwrapper { background-color: #ffffff;} section of the style sheet but that also alters the background color of my main page.

Can i change this white strips color without changing the text background color?
Does this make sense? Sorry if ts a stupid question. Thanks Jeff

7 Jul 2006, 9:48 AM
#2
clydejones avatar

clydejones

Deceased

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

Re: Help with logo background color?

You can remove the white space below the logo as follows:

in includes -> templates -> YOUR_TEMPLATE -> common -> tpl_header.php

Find the following lines:

<br class="clearBoth" />
<!--eof-branding display-->

and either comment out or delete <br class="clearBoth" />

You might also want to adjust the width in the following from your stylesheet. Your logo is extending beyond the limits of your page. You have everything but this set to 100%.

#mainWrapper {
	background-color: #ffffff;

	text-align: centre;
	width: 60%; [I]change this![/I]
	vertical-align: top;
border: 8px solid #cc9966;
	}
7 Jul 2006, 10:24 AM
#3
hovis1109 avatar

hovis1109

New Zenner

Join Date:
Jul 2006
Posts:
2
Plugin Contributions:
0

Re: Help with logo background color?

Thanks . Removed the white line doing as you instructed. Thanks for spotting the problem with my main wrapper. I did not realise but the site appears differently and obscured in a small window compared to how i want in a maximised window. The maximise window is how i wish my site to look.

If i make the wrapper width 100% my page extends to full screen and i don;t want this.

Is there another way i can set the main wrapper to 100% so the site is not obscured and alter another setting to get the display i want. Thanks jeff

7 Jul 2006, 3:44 PM
#4
clydejones avatar

clydejones

Deceased

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

Re: Help with logo background color?

Make the mainWrapper width at least the width of your logo (ie. 715px)