Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2005
    Posts
    18
    Plugin Contributions
    0

    help question Remove Search Heading from Sidebox?

    I apologize if this has already been asked, but I can't find the answer - I'm surely not looking in the right places...

    In the search sidebar I'd like to remove the 'search text' div above the search box. - not just the text but the entire div - so that I'm left with a simple text field and search button.

    It appears "tpl_search.php" only handles the content of the search sidebar not the searchHeading div.

    Hope I'm making sense. I'm simply trying to clean up the appearance of the sidebar since the 'Search' heading is redundant with the button labeled 'Search'.


    Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove Search Heading from Sidebox?

    Are you talking about the sidebox heading?

    And a url to your site is always a good move as many will not post with out seeing the issue
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2007
    Posts
    58
    Plugin Contributions
    0

    Default Re: Remove Search Heading from Sidebox?

    Hi Fancypants and Kobra,

    I have the same challenge as Fancypants with the Heading on the sidebox. I'm trying to remove it on the Better Categories and Book Product Type filter sideboxes instead of the search, but it all looks like the same problem. Each of the sideboxes seem to call a standard function which always has a header.

    My site is

    www.possumbooks.com

    and you can see what I have at the moment down the left hand side. (You'll also see that the site is a mess and I have lots of other challenges, but best to try one at a time )

    I haven't yet figured out what file does the actually turns the $content variables into the sideboxes proper.

    Possum.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove Search Heading from Sidebox?

    possum,

    For just the filter boxes this will hide the text if you match the color to the heading determine the color and replace the code for it in the following and add it to your stylesheet
    Code:
    #booktypesHeading {
    color: #006633;
    }
    
    #bookgenresHeading {
    color: #006633;
    }
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2007
    Posts
    58
    Plugin Contributions
    0

    Default Re: Remove Search Heading from Sidebox?

    Hi Kobra,

    Thanks for such a quick reply.

    Now that I look back on my post I realise that it wasn't very clear . What I'm actually trying to do is to get rid of the header bars completely so I can squish up the space taken up in the left hand column. I have lots of extra categories to put in yet and I don't want people to have to scroll just to get to the categories. If I understand your post correctly it will remove the text, but still leave me with the unused space.

    My guess is that I'm going to have to find the code that actually creates the sidebox output and make a custom version. Problem is that I have no idea where to find it

    Any thoughts much appreciated.

    Possum.
    www.possumbooks.com

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Remove Search Heading from Sidebox?

    If you do not want the heading at all try this:
    Code:
    #booktypesHeading {
    display: none;
    }
    Similar for any that you do not want
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Sep 2007
    Posts
    58
    Plugin Contributions
    0

    Default Re: Remove Search Heading from Sidebox?

    Thanks kobra!

    I had no idea you could turn elements off completely using css. I thought you had to go into the php code. I've turned the header off the categories box too. For anyone else interested the css is:

    Code:
    #categoriescssHeading {
    display: none;
    }
    Thanks again for your help.

    Possum.

  8. #8
    Join Date
    Dec 2005
    Posts
    18
    Plugin Contributions
    0

    Default Re: Remove Search Heading from Sidebox?

    Sorry for my absence on this thread. I'm right there with possum - didn't even think of display:none

    Thanks so much for the help!

 

 

Similar Threads

  1. remove search sidebox from SSL pages
    By gorie in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Aug 2010, 02:55 AM
  2. How do I remove the heading from just one Sidebox?
    By bizshop1 in forum Basic Configuration
    Replies: 5
    Last Post: 5 May 2009, 05:21 AM
  3. remove search header from sidebox
    By SysFix in forum General Questions
    Replies: 17
    Last Post: 25 Sep 2006, 09:03 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