Anyone know how I can remove the header from the search sidebox on my site http://######-shop.sysfix.co.uk
Anyone know how I can remove the header from the search sidebox on my site http://######-shop.sysfix.co.uk
From Admin > Tools > Layout Boxes Controller, set that sidebox so that Left/Right column is OFF and Single Column is ON.
Neville
An assumption is what you arrive at when you get tired of thinking...
no, that removes the entire sidebox. I only want to remove the "header" of the sidebox
anyone know how to do this?
in includes -> modules -> sideboxes -> YOUR_TEMPLATE -> search_header.php:
Look for $title = '<label>' . BOX_HEADING_SEARCH . '</label>';
and replace it with $title = '';
The are several quick ways to achieve this. Clydejones suggestion would work (that's two single quotes not a double quote at the end of his suggestion BTW), but it isn't the approach that I would recommend. Less intrusive would be to amend the following line to remove the word Search leabing the two single quotes intactOriginally Posted by clydejones
in your includes/languages/MY_TEMPLATE/english.php file (creating one by copying includes/languages/english.phpif it there isn't one already in this MY_TEMPLATE directory) instead. However this would also affect the search box in the header if you have this enabled. Both of the above solutions would also leave an <h3> tag pair taking up some space which if your using sidebaox images attached to the h3 tag, may be a good thing.PHP Code:define('BOX_HEADING_SEARCH', 'Search');
An alternative approach is to target this area with CSS. This can be done in several ways depending upon what you wish to achieve.would turn off the header and probably take any header images with it. So you might find#searchHeader {display:none}where NN represents the number of pixels necessary to disaply as much of the header image as you would like.#searchHeader label {display:none}
#searchHeader h3 {height:NNpx}
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Kuroi,
Absolutely right.
It was very late when I posted my solution and I just wrote the first thing that popped into my mind.
Is there a way to remove the actual whole sidebox header not just the text inside the header. I have tried all the suggestions in this thread and still have a blank header area above my sidebox.
I am trying to get the top border the same width as the bottom. I would like to do this with several of my sideboxes but not all.
The options given above were specific to the original asker's site. They will vary depending upon the version of Zen Cart and the template used. Thus for example, if it were your Aurora Outdoors site that you want to change, you would need to use the following instead#search-heading-tr {display:none}
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Kuroi -
Wow, thats awesome. I have no idea how that works but it certainly does
.
Can that also work for other sideboxes? If, so I'd love to know how your mojo works.
Thanks again