-
Tobias started the question Better Searchfield for mobile (also desktop?) in the forum Boss. theme 8 years, 7 months ago
Hi,
as I need more space in the header and the wide search field is just too wide, I am trying to make it just an icon.
I managed to edit the searchform.php, converted the search <button> to <span> and edited css: `
#mobile-header form.searchform {
padding-left: 235px;
}
`So far so good, but the script for resizing the searchform of course makes it the normal size, after tapping out of the form.
I explained the differend states in the following image.To get the whole idea, check here: http://tympanus.net/Tutorials/ExpandingSearchBar/
So.. wouldn’t this be even a needed update? I really need this, so if anyone could help me out, I really would appreciate this. Otherwise I have to put in something like the example above.