The search box should already be on your blog after you upload the theme, but if you can't see it or accidentally delete the widget, add the code below to a HTML/JavaScript widget.
Change the words in red if you want to change the input or button text of the search box.
<form action="/search" class="search-form" method="get">
<input class="search-input" name="q" placeholder="Search" type='text' value=""/>
<button class="search-submit" type="submit" value=""><i class="fas fa-search"></i></button>
</form>
Rosamund theme:
<form action="/search" class="search-form" method="get">
<input class="search-input" name="q" placeholder="I want to find..." type='text' value=""/>
<input class="search-submit" type="submit" value="Search"/>
</form>
Drea theme:
<form action="/search" class="search-form" method="get">
<input class="search-input" name="q" placeholder="" type='text' value=""/>
<input class="search-submit" type="submit" value="Search"/>
</form>
Vendela theme:
<form action="/search" class="search-form" method="get">
<input class="search-input" name="q" placeholder="Search" type='text' value=""/>
<input class="search-submit" type="submit" value="Go!"/>
</form>
Fenrys theme:
<form action="/search" class="search-form" method="get">
<input class="search-input" name="q" placeholder="Type some words..." type='text' value=""/>
<input class="search-submit" type="submit" value="Search"/>
</form>
No comments:
Post a Comment