WordPress.org

Ready to get started?Download WordPress

Forums

Search box on Navigation Menu
Cannot get "Search For:" off the page! (3 posts)

  1. trnhockey
    Member
    Posted 1 year ago #

    Visited probably 50 different sites all last night. Tried everything. Changed the style.css and search.php file in both the 2010 theme and custom theme "radio" folders. The website is here ... http://www.speakingofradio.com/

    Do you have any other ideas on how I can get rid of that annoying extra text for "Search For:" before the actual search box?

    Thanks, Todd

    http://wordpress.org/extend/plugins/search-box-on-navigation-menu/

  2. jimbabwe
    Member
    Posted 7 months ago #

    If you didn't find an answer, add to your theme's css file:

    label.screen-reader-text {
    display: none;
    }

    Source: http://wordpress.org/support/topic/removing-search-for-text-from-search-box

  3. Andrew
    Forum Moderator
    Posted 7 months ago #

    If it's screen-reader text then you don't want to display it none, just position it off-screen using absolute positioning, e.g:

    label.screen-reader-text {
     position: absolute;
     left: -9999em;
     top: -9999em;
    }

    And add it to your Child Theme style.css file or Custom CSS plugin section of the dashboard.
    The latter is easier:
    http://wordpress.org/plugins/custom-css-manager-plugin
    http://wordpress.org/plugins/custom-css-manager-plugin/screenshot-1.jpg?r=704634

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.