- This topic has 3 replies, 2 voices, and was last updated 7 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › responsive search filter
Tagged: responsive
You would probably need to use the CSS shown here:
… but surround it it with a media query to restrict to screen sizes to whatever mobile breakpoint your theme is set to, e.g 767px. Like this:
@media only screen and (max-width: 767px) {
.searchandfilter > ul > li {
display: inline-block;
vertical-align: top;
padding: 0 20px;
}
}
Try this:
@media only screen and (max-width: 767px) {
.searchandfilter > ul > li {
display: inline-block;
vertical-align: top;
padding: 0 20px 0 0;
margin-bottom: 10px;
}
.searchandfilter ul {
margin-left: 0;
margin-right: -10px;
}
}
BUT, bear in mind that it will still go to one column if the screen is too narrow.