- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 › Center search results horizontally
Hi, everybody.
I was wondering if you could help me out with some CSS tricks to get this.
I have put the S&F pro shortchode in horizontal as indicated in the documentation. With this CSS:
.searchandfilter[data-sf-form-id=”1428″] > ul > li {
display: inline-block;
vertical-align: top;
padding: 0 20px;
}
But, my search engine has several fields, and sometimes it falls on a second line. This second line is always aligned to the left, and I would like to put it in the middle.
I’ve made a masterpiece of art with Paint that I think is better explained. https://ibb.co/mRWTB01
I don’t know much about CSS, and it’s probably very easy, but I haven’t managed to do it.
Thanks in advance!
Translated with http://www.DeepL.com/Translator (free version)