Forums › Forums › Search & Filter Pro › How to make the filter on the same line?
- This topic has 8 replies, 2 voices, and was last updated 9 years, 1 month ago by
Anonymous.
Viewing 9 posts - 1 through 9 (of 9 total)
-
Anonymous(Private) April 3, 2016 at 3:14 pm #41399
Hi Trevor,
I saw on your FAQ this code to make the filter on the same line :
.searchandfilter ul li { width: auto; display: inline-block; } li.sf-field-taxonomy-portfolio_category{display: inline-block !important} li.sf-field-taxonomy-portfolio_tag{display: inline-block !important} .searchandfilter h4 { color: #ff6300 !important; {
But I would like to add same space between each menu, like this :
How can I make it?
Thanks,
BenoitTrevor(Private) April 3, 2016 at 3:52 pm #41403You would need to add some margin on all of them too, like this maybe?
.searchandfilter ul li { width: auto; display: inline-block; margin-left: 10px; margin-right: 10px; } li.sf-field-taxonomy-portfolio_category, li.sf-field-taxonomy-portfolio_tag { display: inline-block !important; margin-left: 10px; margin-right: 10px; }
The close bracket is also wrong on the last selector that you showed. It should be this:
.searchandfilter h4 { color: #ff6300 !important; }
Trevor(Private) April 3, 2016 at 6:10 pm #41413OK, this might do it:
.searchandfilter h4, .searchandfilter label { margin-left: 5px !important; margin-right: 5px !important; }
I made this by using Firefox and firebug to inspect and play with the css. It is worth starting to learn to use these tools.
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)