Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jul 2005
    Posts
    211
    Plugin Contributions
    0

    Idea or Suggestion remove search header from sidebox

    Anyone know how I can remove the header from the search sidebox on my site http://######-shop.sysfix.co.uk

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: remove search header from sidebox

    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...

  3. #3
    Join Date
    Jul 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: remove search header from sidebox

    no, that removes the entire sidebox. I only want to remove the "header" of the sidebox

  4. #4
    Join Date
    Jul 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: remove search header from sidebox

    anyone know how to do this?

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: remove search header from sidebox

    in includes -> modules -> sideboxes -> YOUR_TEMPLATE -> search_header.php:

    Look for $title = '<label>' . BOX_HEADING_SEARCH . '</label>';

    and replace it with $title = '';

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: remove search header from sidebox

    Quote Originally Posted by clydejones
    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 intact
    PHP Code:
      define('BOX_HEADING_SEARCH''Search'); 
    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.

    An alternative approach is to target this area with CSS. This can be done in several ways depending upon what you wish to achieve.
    #searchHeader {display:none}
    would turn off the header and probably take any header images with it. So you might find
    #searchHeader label {display:none}
    #searchHeader h3 {height:NNpx}
    where NN represents the number of pixels necessary to disaply as much of the header image as you would like.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: remove search header from sidebox

    Kuroi,

    Absolutely right.

    It was very late when I posted my solution and I just wrote the first thing that popped into my mind.

  8. #8
    Join Date
    May 2006
    Location
    Connecticut
    Posts
    118
    Plugin Contributions
    0

    Default Re: remove search header from sidebox

    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.

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: remove search header from sidebox

    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)

  10. #10
    Join Date
    May 2006
    Location
    Connecticut
    Posts
    118
    Plugin Contributions
    0

    Default Re: remove search header from sidebox

    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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Remove Search Box From the EZ PAGES HEADER
    By MillenniumJim in forum Customization from the Admin
    Replies: 3
    Last Post: 10 Mar 2015, 07:18 PM
  2. Remove search and currency from header
    By ysmith877 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Sep 2010, 03:26 PM
  3. remove search sidebox from SSL pages
    By gorie in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Aug 2010, 02:55 AM
  4. Remove Search Heading from Sidebox?
    By fancypants in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Oct 2007, 09:05 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