Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / removing header menu buttons

removing header menu buttons

Views: 983

Results 1 to 2 of 2
17 Apr 2014, 6:36 PM
#1
ken1 avatar

ken1

Zen Follower

Join Date:
Mar 2014
Location:
Central California
Posts:
105
Plugin Contributions:
0

removing header menu buttons

I am trying to remove some buttons from what I think is the header menu.
My site is http://www.sierrasweets.com/working_title/
I am using a free Zen Cart template, and my knowledge of css and php is basic.
I want to remove some of the buttons from this menu, one being "Brands".
I have been using Firebug, thank you to the forum for telling me about it, it has been a
great help.
The template instruction says "If you want to customize the header menu you can change any of the existing text and links in includes/languages/english/extra_definitions/responsive_sheffield_blue/headermenu.php"
Unfortunately that isn't quite enough information for me. I have inspected the file and a line
define('HEADER_TITLE_MANUFACTURERS','Brands');
I have tried making it a comment by enclosing the statement with
/define('HEADER_TITLE_MANUFACTURERS','Brands');/ but the button still shows up.

With the help of Firebug I found if I comment out the section below the Brands button is gone.

<li class="manufacturers-li"> <a class="drop" href="http://www.sierrasweets.com/working_title/">Brands</a> <div class="dropdown_1column"> </li>

Can someone tell me how where to change the code to get rid of the button.
Thanks
K1

17 Apr 2014, 7:07 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: removing header menu buttons

You would be best off asking in the Sheffield Blue template support thread, or in the support thread for the navigation menu that it uses. The menu should have readme documentation which describes how to eliminate gertain top links.

You should never eliminate a define statement to get rid of an item; all that does is make the constant undefined and cause errors. The code that displays it will still try to display something.