Skip to:
Content
Pages
Categories
Search
Top
Bottom

Delete the search facility.


  • rebeccadonnelly
    Member

    @rebeccadonnelly

    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! :)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Add to your theme’s stylesheet:

    .search { display: none; }


    rebeccadonnelly
    Member

    @rebeccadonnelly

    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!


    Ashfame
    Participant

    @ashfame

    @Kawauso

    Is using display:none; fine as per SEO? It violates the rule of showing different content to the users than the bot.


    chrishajer
    Participant

    @chrishajer

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.