How do I disable the heading for just one sidebox?
Leaving the others intact...
Each sidebox has its own tpl_whatever_sidebox.php and its own
whatever_sidebox_defines.php
How do I disable the heading for just one sidebox?
Leaving the others intact...
Each sidebox has its own tpl_whatever_sidebox.php and its own
whatever_sidebox_defines.php
Biz,
admin panel/ tools/ developers tool kit
- search for
- the heading title name you want to disable
- catalog
- search
- you should find this in:
- includes/ languages/ english.php
- Just delete the heading name between the two single quotes, but leave the quotes
- EX: define('BOX_HEADING_CATEGORIES', 'Categories');
- Change to: define('BOX_HEADING_CATEGORIES', '');
- remember to use the override system
- save the file to: includes/ languages/ your_template/ english.php
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Or if you don't mind that the heading is still processed, you can completely hide it just by adding to your stylesheet
#whatever_sideboxHeading {display: none;}
Moderator note: Posts moved to separate discussion
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I'm looking for something similar to this but struggling ...
I would like to remove the "categories" heading, not just the words but the whole heading bar.
I have managed to do this by modifying the stylesheet as follows...
#categoriesHeading {display: none;}
However I am wanting to go further and only remove the heading when on the main page? I already figured out how to remove the category list itself under main page conditions by wrapping an IF statement around the code in tpl_categories thanks to previous posts. I have tried wrapping numerous lines of code in the same IF statement wherever I find reference to the heading but so far it seems to be welded onto teh site with gum!!!!
Can anyone help me figure what I need to modify to do this, pleasssseee.
BTW for reference I'm running on V1.3.8a
Any help would be much appreciated!!
Zen Newbie: www.wickedstyling.com]. Thanks All.
#indexHomeBody #categoriesHeading {display: none;}
or to hide the whole sidebox with one rule, simply
#indexHomeBody #categories {display: none;}