Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2010
    Posts
    53
    Plugin Contributions
    0

    Default How to remove to top hear bar

    Hi,all,
    I am a newbie to Zen Cart.
    Recently i am building a new ZC store. I bought a template in a shop. However, i want to do some modification work.
    Here is my store: www.elechouse.com/store
    I want to remove or hide the top header bar where a search box is located. But i do know how.
    Anybody can tell me how to do it?

    Thanks so much!

  2. #2
    Join Date
    Apr 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: How to remove to top hear bar

    I tried hide the search_header, but it does not work.
    I did it as following:
    Point your cursor at the Tools menu. Choose the Layout Boxes Controller. Find the search_header.php, turn both switches to off.

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

    Default Re: How to remove to top hear bar

    You could add the red part to this in your stylesheet:

    .topper-menu {
    height:35px;
    background:#d2d2d2 url(../images/topper-menu-bg.png) repeat-x;
    display:none;}

    If you plan to continue using this or other purchased templates, here's the best advice I can offer:

    Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

  4. #4
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to remove to top hear bar

    Or you could try comment the line in
    includes/templates/TEMPLATE_NAME/common/tpl_header.php
    where it requires the search field
    form this
    PHP Code:
    <?php require(DIR_WS_MODULES 'sideboxes/search_header.php'); ?>
    to this
    PHP Code:
    <?php //require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
    stevesh, please correct me if I am wrong.
    Last edited by keneso; 17 Jan 2011 at 04:23 PM.

  5. #5
    Join Date
    Apr 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: How to remove to top hear bar

    hi, stevesh:
    Thanks so much for your advice. It really works.
    I am a beginner about web programming. So some of your advice seems hard to understand for me.
    I hope you can give me some instruction for beginners, if possible.
    Anyway, thanks for helping me to solve the problem.

  6. #6
    Join Date
    Apr 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: How to remove to top hear bar

    hi, keneso:
    Thanks for your posting. I tried stevesh's advice. It works.
    Thanks all the same.

 

 

Similar Threads

  1. How to remove top bar with Home and Log In?
    By vito in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 May 2010, 08:28 AM
  2. Replies: 1
    Last Post: 10 Jun 2009, 10:16 AM
  3. How to remove very top bar on all pages
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Aug 2008, 04:33 AM
  4. How do I remove the colored bar at the top?
    By bigcaat in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 Jun 2007, 08:36 PM
  5. Remove TOP Bar
    By seaney in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 May 2006, 04:48 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