Forums › Forums › Search & Filter Pro › How to display filter form horizontally
- This topic has 25 replies, 2 voices, and was last updated 4 years, 10 months ago by
Trevor.
-
Trevor(Private) August 28, 2020 at 9:07 pm #257747
Hi
Your theme is using JavaScript to adding a lot of extra HTML inside the form, see these parts, which are not placed by our plugin:
https://www.screencast.com/t/NG4g7Kgk
Try changing the CSS you used to this:
.searchandfilter > ul { display: flex; margin-right: 10px; }
It will get you closer. Please note that it is late here in the UK (gone 5PM) and we are closed now for the weekend.
Trevor(Private) September 1, 2020 at 10:50 am #257927I apologise for the delay in replying, caused by the weekend and yesterday (Monday) was a national holiday in England. I am now working my way through the backlog of tickets.
You would need to add this CSS:
.searchandfilter > ul { display: table; } .searchandfilter > ul > li { float: left; } .searchandfilter ul li.sf-field-submit { clear: both; }
-
AuthorPosts