Remove word "search" from Searchbox

  • Author
    Posts
  • #43912

    Hi,
    I installed the Relevanssi plugin to do the search on my site.
    But in the Searchbox I get the word “search”.
    I contacted the plugin author of Relevanssi, but he says it has nothing to do with his plugin, but with the theme you have.
    So my question is: how can I remove the word “search” from the searchbox?
    And if that isn’t possible, can I change the font size and how?
    Thanks.
    My site is here: https://www.patriciakaas.nl/blog/

    Johanna

    Website: www.patriciakaas.nl/blog

    #44161

    Hi Support,
    Is it possible to get an answer please?

    Johanna

    #44427
    Andrew Young
    Power User

    Does anyone know how to remove the search box completely from the Menu

    Website: www.websage.co.uk/u3a

    #44428

    Andrew it is always better to start your own thread.
    But go to the Tempera Settings/ Graphic Settings/ SEARCH BAR LOCATIONS.
    There you can change the default settings for the search bar.

    Johanna

    #44511

    I figured out how to change the fontsize of the word “Search” by adding this to the css of the Tempera Settings under Miscellaneous:

    .searchform input[type="search"]  {/* This keeps the search inputs in line This is the Sidebar Search*/
    	display: block;
    	float: left;
    	padding: 0 30px 0 10px;
    	height: 50px;
    	width: 100%;
    	border-radius: 4px;
    	font-size: 18px;
    }

    But I still rather would remove the word “Search” entirely.

    Johanna

    #44736
    Zed
    Cryout Creations mastermind

    The search string is a placeholder for the search form. It can be removed by removing the actual string or you could try this very weird bit of CSS:

    .searchform input[type="search"]::-webkit-input-placeholder { /* WebKit browsers */
        color:    transparent;
    }
    .searchform input[type="search"]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
       color:    transparent;
    }
    .searchform input[type="search"]::-moz-placeholder { /* Mozilla Firefox 19+ */
       color:    transparent;
    }
    .searchform input[type="search"]:-ms-input-placeholder { /* Internet Explorer 10+ */
       color:    transparent;
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #44738

    Thanks Zed! That did it.

    Johanna

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Remove word "search" from Searchbox’ is closed to new replies.