Forums › Forums › Search & Filter Pro › Search form look in small device
Tagged: Styling the search Form
- This topic has 9 replies, 2 voices, and was last updated 8 years, 7 months ago by Trevor.
-
Anonymous(Private) April 4, 2016 at 2:18 pm #41510
I styled the search form to make it horizontal instead of vertical, but it doesn’t look good at all in a small device, see below:
http://dukes.chefrachida.com/recipes/how can I style it to add some space between the fields.?
Thanks,
RachidaAnonymous(Private) April 4, 2016 at 2:43 pm #41518Thanks Trevor for your fast response, I have the microthemer toll I’m using it all the time and I even added these codes, few seconds after I published my question:
here is the CSS codes I wrote, but it is not working..sf-field-search {
width: 20px;
margin-bottom: 10px;
padding-bottom: 20px;
}.sf-field-category {
width: 20px;
margin-bottom: 10px;
padding-bottom: 20px;
}.sf-field-tag {
width: 20px;
margin-bottom: 10px;
padding-bottom: 20px;
}But it is not working
Thanks,
RachidaTrevor(Private) April 4, 2016 at 5:02 pm #41539Custom CSS:
@media only screen and (max-width: 767px) { .searchandfilter > ul > li { margin-bottom: 30px; } .searchandfilter > ul > li select, .searchandfilter > ul > li input { width: 193px; } .searchandfilter > ul label { display: block !important; } }
-
AuthorPosts