Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2010
    Location
    Guangzhou, China
    Posts
    9
    Plugin Contributions
    0

    Default Tagline layout problem(below the logo)

    I customized the header, and now there is too much blank between tags lines to the mainnav... you could see here
    http://www.wedding4us.com/

    The tagline: We do not sell wedding dress, we only offer happiness.
    taglines fromincludes\languages\english\my_templates\header.php)

    customized header from(\includes\templates\apparel_boutique\common\tpl_header.php)

    css part of tagline:
    #tagline {color:#b5b5b6;font-size: 1em;text-align :left;vertical-align:bottom;margin-left:10px;margin-bottom:15px;text-transform:lowercase;}

    I tried to removed the css format of the tagline, it solved the problem, but the font is too small, really bad looking..
    So what's your advice, guys? I wanna keep the font size and color of the tagline, and need to shorten 1/3 of the height from tagline to mainnav(grey color nav.)... Thanks!
    Last edited by fashionbop; 22 Dec 2010 at 01:52 PM.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Tagline layout problem(below the logo)

    Zencart loads all stylesheets with the .css extension that are in the current template's CSS folder, so you have two sheets fighting each other (stylesheet.css and stylesheet2010.css. Remove one or the other. In stylesheet2010.css, you have 25px bottom margin for #tagline. Try changing that to 0px.

  3. #3
    Join Date
    Dec 2010
    Location
    Guangzhou, China
    Posts
    9
    Plugin Contributions
    0

    Default Re: Tagline layout problem(below the logo)

    You rock!! my friend...
    No need to change to 0px, I still want it a little away from the mainnav. 14 px will be enough.. it works now.

    I renamed that original css as backup, never know zencart will load all of them...

    How smart
    Thanks!!!!

 

 

Similar Threads

  1. Removing Blank space at the top below the logo?
    By milobloom in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Sep 2009, 07:00 AM
  2. Problems with getting of the Zen-cart logo and tagline
    By Trinicha in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Nov 2007, 03:04 AM
  3. How to hide the top left corner's Logo and Tagline?
    By tat1973 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Nov 2007, 07:23 PM
  4. how to change the font color right below the logo
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Feb 2007, 11:41 PM
  5. how to change the font color right below the logo
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Feb 2007, 10:04 PM

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