Hi,
i use Zen Cart 1.5.4.
I want to hide drop-down Manufacturers (Brands) from headbar and Social Networks icon/links from footer menu
How can I do this?
Thx
Hi,
i use Zen Cart 1.5.4.
I want to hide drop-down Manufacturers (Brands) from headbar and Social Networks icon/links from footer menu
How can I do this?
Thx
@Webling
You need to find the section of code that displays the part that you want to remove. There are comments like <!--bof shop by brand --> and <!-- eof shop by brand --> to help you what code is for what. Basically you have to remove what it between the comments but also that first line on line 39
<li class="brands-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_MANUFACTURERS; ?></a><!--bof shop by brand -->
to make it work. Not sure why the comments are placed where they are. It's not all the code that is needed to be removed. Same goes for the Customer Service section. A few more lines of code have to be removed after the <!-- eof customer service -->
</li>
</ul>
</li>
to make it work. Not very intuitive for the not so code savvy. But if you have Notepad++ you can see what code section starts where and ends where on the left side with the plus and minus signs. Hope this helps.
Live and learn... the Zen way.
There is another option to "remove" brands and others:
in includes/templates/responsive_sheffield_blue/templates/css/stylesheet.css
arround line 359: .slimmenu li.brands-li{display:none;}
and for hiding it also in mobiles add to the stylesheet.css this:
arround line 362: .slimmenu.collapsed li.brands-li{display:none;}
Unfortunately, spiders, bots, kiddies, etc... they ignore or tend to ignore the css and read the raw source code. This can be seen by those that in previous versions of the mega menu hid the contact us form on the page, but left all of the contact us content and would receive junk mail and not be able to determine the origin. One look at the source code and it was obvious.
Css is for styling (cascade style sheet) not for content. Content is what people are expected to receive/see. Css is how it is presented.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Hi Ann... I'm also for removing the whole "Brands", from all layouts ,as I won't be using them... How do I edit those out?
I'm using the 2.0 with 1.5.4.
Thanks!