Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default 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: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

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default 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:

    PHP Code:
    <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%.
    Code:
    #mainWrapper {
    	background-color: #ffffff;
    
    	text-align: centre;
    	width: 60%; change this!
    	vertical-align: top;
    border: 8px solid #cc9966;
    	}

  3. #3
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Help with logo background color?

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

 

 

Similar Threads

  1. v151 change the logo area background color
    By ken1 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Mar 2014, 12:15 AM
  2. v150 Need help with my template - color, logo, tagline
    By davidmk81 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jul 2012, 04:49 PM
  3. Help with Changing the Background Color
    By zvaughn in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 10 Feb 2011, 02:18 PM
  4. Help with Overlapping Logo, background and Navigation bar
    By keepondraggin in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Feb 2009, 07:15 AM
  5. background color + logo
    By aussiewench in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Oct 2006, 05:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg