Forums › Forums › Search & Filter Pro › form fields horizontally on two lines
- This topic has 4 replies, 2 voices, and was last updated 4 years, 6 months ago by Trevor.
Viewing 6 posts - 1 through 6 (of 6 total)
-
Trevor(Private) May 5, 2020 at 3:05 pm #242677
You may have to use custom CSS to split the form into columns.
Are you able to send me a live link/URL to your search page so I can take a look?
I am not sure what you mean by ‘more subtle’. My guess is you want to change the styling. Are you able to show me a form that is more as you want it to look?
Trevor(Private) May 6, 2020 at 11:39 am #242800My first attempt. Replace what you have:
.searchandfilter > ul > li { display: inline-block; vertical-align: top; padding: 0 20px; }
… with this:
.searchandfilter[data-sf-form-id="420"] ul { padding-left: 0; } .searchandfilter[data-sf-form-id="420"] > ul > li > label, .searchandfilter[data-sf-form-id="420"] > ul > li > label > select.sf-input-select, .searchandfilter[data-sf-form-id="420"] > ul > li.sf-field-search > label > input { min-width: 100%; } @media only screen and (max-width: 1024px) { .searchandfilter[data-sf-form-id="420"] > ul > li { min-width: 270px; } } @media only screen and (min-width: 768px) { .searchandfilter[data-sf-form-id="420"] > ul > li { display: inline-block; vertical-align: top; padding: 0 20px 20px; min-width: 370px; } .searchandfilter[data-sf-form-id="420"] > ul > li.sf-field-post-meta-tipologia:before, .searchandfilter[data-sf-form-id="420"] > ul > li.sf-field-post-meta-comune:before { content: ""; display: block; height: 32px } } @media only screen and (max-width: 767px) { .searchandfilter[data-sf-form-id="420"] > ul > li > label, .searchandfilter[data-sf-form-id="420"] > ul > li > label > select.sf-input-select, .searchandfilter[data-sf-form-id="420"] > ul > li.sf-field-search > label > input { min-width: 100%; } .searchandfilter[data-sf-form-id="420"] > ul > li[data-sf-field-input-type="range-slider"] > .meta-slider { max-width: none; margin-right: 10px; } }
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)