Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Search box header height

    Are you referring to the search box in the header? There is no other search currently visible while you are in maintenance mode...

    If you want to move the header search down, find in your stylesheet
    Code:
    #navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
    	margin: 0.5em;
    	}
    Remove the #navMainSearch, from that rule and add a new rule like
    Code:
    #navMainSearch {margin:0.5em 0 0; padding: 0.5em 0 0;}
    If you want something else, you will have to let us see where it is.

  2. #12
    Join Date
    Sep 2004
    Posts
    29
    Plugin Contributions
    0

    Default Re: Search box header height

    Quote Originally Posted by gjh42 View Post
    Are you referring to the search box in the header? There is no other search currently visible while you are in maintenance mode...

    If you want to move the header search down, find in your stylesheet
    Code:
    #navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
    	margin: 0.5em;
    	}
    Remove the #navMainSearch, from that rule and add a new rule like
    Code:
    #navMainSearch {margin:0.5em 0 0; padding: 0.5em 0 0;}
    If you want something else, you will have to let us see where it is.
    Dear gjh42,

    Thank you very much for your fast reply.
    Yes, I mean the search box in the header. It looks quite inconsistent with other bars.

    I could not find the code in stylesheet:

    #navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {

    It does have a section though:

    #navMainSearch {

    float: right;

    }

    So I just pasted the proposed code into stylesheet.css, but nothing happened.

    #navMainSearch {margin:0.5em 0 0; padding: 0.5em 0 0;}

    I am using zen cart v1.3.9h and the file is in /includes/templates/template_default/css

    Please help...

    Thank you very much
    Tate

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Search box header height

    The stylesheet is one of a few files that will always be located in your custom template folders - the /template_default/ version will be irrelevant.

    Look in /includes/templates/your_template/css/stylesheet.css.

  4. #14
    Join Date
    Sep 2004
    Posts
    29
    Plugin Contributions
    0

    Default Re: Search box header height

    Quote Originally Posted by gjh42 View Post
    The stylesheet is one of a few files that will always be located in your custom template folders - the /template_default/ version will be irrelevant.

    Look in /includes/templates/your_template/css/stylesheet.css.
    Hi gjh42,

    You are very good... thank you.. I think we are getting close, but not there yet..
    I can see the height of the bar is reducing after I modified the file as instructed, but it is not yet consistent with others.

    Any way I can reduce even more?

    Thanks a bunch --

    Tate

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Search box header height

    You have a duplicate stylesheet named stylesheet!.css, and that will override many changes you make in stylesheet.css. If you wanted a backup copy, you need to save it elsewhere, or else name it like stylesheet.bak, as anything named style*.css will be loaded in alphabetical order.

  6. #16
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Search box header height

    The major element taking extra height there is a <br class="clearBoth">, which you would have to change in tpl_header.php. You could replace it with <div class="clearBoth"></div> which will have no height.

  7. #17
    Join Date
    Sep 2004
    Posts
    29
    Plugin Contributions
    0

    Default Re: Search box header height

    Quote Originally Posted by gjh42 View Post
    The major element taking extra height there is a <br class="clearBoth">, which you would have to change in tpl_header.php. You could replace it with <div class="clearBoth"></div> which will have no height.
    Thank you very much.. this is a good place indeed and I really appreciate your help ~

    Tate

  8. #18
    Join Date
    Sep 2004
    Posts
    29
    Plugin Contributions
    0

    Default Re: Search box header height

    Quote Originally Posted by tate View Post
    Thank you very much.. this is a good place indeed and I really appreciate your help ~

    Tate
    Dear gjh42,

    It is Tate again...

    I found what was modified does not work on IE.. as most of my customers are IE users.. I need to optimize the layout for IE..

    Have a few questions and help you can lend me a hand --

    the site (please use IE to view the link below):

    http://www.superhairfactory.com/shop...or_maintenance

    1. I would like to move the search box in the top header to the right side of the header (all the way to the rightmost), how should I modify it?
    2. the "Home :: Down for Maintenance" is a bit too high (what is this called? ezpage?) and it takes the space for the top banner, how should I modify the system?
    3. the bestseller sidebox on the right, like point 2, is too high, how should I modfiy the system? so the sidebox is as high as the category side box on the left?
    4. how do I modify the height of the top header like what was asked in the previous posts for IE?

    Thank you
    Tate

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Search Bar Header HEIGHT size
    By locbones in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Aug 2012, 02:10 AM
  2. Search Box in H3 Left Box Header
    By flintcog in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2007, 09:28 PM
  3. Search box in header : Q
    By BabaGee in forum General Questions
    Replies: 1
    Last Post: 17 Aug 2006, 12:58 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR