Info
- 5 posts
- 4 voices
- Started 2 years ago by rebeccadonnelly
- Latest reply from chrishajer
- This topic is resolved
Delete the search facility.
-
- Posted 2 years ago #
The search box makes my forum look cluttered and as it will be a small forum I doubt it will ever be used. Therefore I would like to delete it, i'm quite new to web technologies and am having trouble working out what bits I need to delete to get rid of it! I'm sure this would be an easy question for someone more knowledgeable to answer, so help please! :)
-
- Posted 2 years ago #
Add to your theme's stylesheet:
.search { display: none; } -
- Posted 2 years ago #
Thanks so much, as I said I have only been doing this web stuff for a few days so even the simplest stuff evades me!
-
- Posted 2 years ago #
@Kawauso
Is usingdisplay:none;fine as per SEO? It violates the rule of showing different content to the users than the bot. -
- Posted 2 years ago #
Using display:none just hides it from display. If you want to remove it, remove the code from your template file. In the 1.0 versions it's in header.php. Remove this stuff:
<div class="search"> <?php search_form(); ?> </div>That will remove the search box.
-
You must log in to post.