PDA

View Full Version : How do I remove search box but not the style chooser?


creativetechguy
May-07-2007, 09:18 PM
How can I remove the search box but on the style chooser? I tried the following code but it removed both:


/* removes search box */
#header #toolbar {display: none;}


Any ideas? I know this is probably simple and I'm just missing it.

richW
May-07-2007, 09:43 PM
How can I remove the search box but on the style chooser? I tried the following code but it removed both:


/* removes search box */
#header #toolbar {display: none;}


Any ideas? I know this is probably simple and I'm just missing it.
Welcome to dgrin....:wave
Not sure which search you want to remove. Could we get a link to your site, it will give us a better idea what you want to do.

creativetechguy
May-07-2007, 09:45 PM
Welcome to dgrin....:wave
Not sure which search you want to remove. Could we get a link to your site, it will give us a better idea what you want to do.

I mean the search box at the top right of all my pages.

My URL is

tristan.smugmug.com

richW
May-07-2007, 09:57 PM
There are serveral ways to do it.

This will remove the searchbox and cart from the homepage only:
.homepage #toolbar {display: none;}

This will remove the searchbox from the homepage only:
.homepage #searchBox {display: none;}

This will remove the searchbox on all pages:
#searchBox {display: none;}

Yell back if you need anything else....:thumb

edit: check out the Firefox, Webdev, Webdev Tutorial links in my signature, great tools to help with your site.

creativetechguy
May-07-2007, 10:02 PM
Thanks! That's just what I was looking for.