Forums

Adding search bar using Snowblind theme (6 posts)

  1. America Reclaimed
    Member
    Posted 2 years ago #

    Hi, I've seen sites using Snowblind that have a search bar at the top right. I've been using the theme and have not found an option to implement it into the page. Is here a line of CSS that must be added? Thanks. Here's the site for reference: http://www.americareclaimed.com/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Your site/theme is currently hiding the search form (which should be above the top left of your header) via CSS. Since this CSS is being add to your page's header, I suggest you re-check your theme's options. I'm pretty sure that there's an option to hide/display the search form in there somewhere.

  3. America Reclaimed
    Member
    Posted 2 years ago #

    Unless it has been recently updated without my knowledge, there is no direct option to do so. Perhaps an error with something else is causing it. Could I simply go in and change some CSS? Thanks in advance.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Perhaps an error with something else is causing it.

    No. This is very specific CSS.

    Could I simply go in and change some CSS?

    Try looking for display:none; in header.php.

    Or try deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

  5. America Reclaimed
    Member
    Posted 2 years ago #

    Thanks four your help and i apologize for my lack of knowledge on the subject. The header does not contain that, but there is a template titled searchform.php - It seems to me that "hidden" indicates it is not visible. I have tried deleting "hidden" though it does not work without a replacement.

    <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    <input type="text" class="search_input" value="search..." name="s" id="s" onfocus="if (this.value == 'search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search...';}" />
    <input type="hidden" id="searchsubmit" value="Search" />
    </form>

    Could replacing it with another word be the key to this? Thanks.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Could replacing it with another word be the key to this?

    No. That input should be hidden. If there's no CSS in your header.php file, then, as I said previously, it's probably coming from a plugin or from the theme's custom options. You could start by deactivating all plugins.

Topic Closed

This topic has been closed to new replies.

About this Topic