Forums › Forums › Search & Filter Pro › Changing the Layout of the Search widget
Tagged: layout
- This topic has 15 replies, 2 voices, and was last updated 8 years, 4 months ago by Trevor.
-
Anonymous(Private) June 27, 2016 at 4:22 pm #49522
I am trying to modify the search functionality on a website but it is staying in that widget area, is there a way to migrate the search area onto a page and have it look like this?
http://imgur.com/FJ4yki4Anonymous(Private) June 27, 2016 at 11:00 pm #49571Thank you I found this thread https://support.searchandfilter.com/forums/topic/sf-horizontal-the-final-solution/ which helped a lot but the problem I am coming across right now is getting the check boxes to line up in 3 columns in a row like in the photo above. here is the css I am using .
.searchandfilter[data-sf-form-id=”116014″] .chosen-container.chosen-container-multi {
width: 100% !important;
margin-top: -5px !important;
}.searchandfilter[data-sf-form-id=”116014″] input.default {
border-color: rgba(0,0,0,0.3);
outline: 1;
outline: thin dotted \9;
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(0,0,0,0.2);
-webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
transition: border linear 0.2s,box-shadow linear 0.2s;
}.searchandfilter[data-sf-form-id=”116014″] li.sf-field-category {
width: 30% !important;
}.searchandfilter[data-sf-form-id=”116014″] select.sf-input-select {
width: 100%;
}
`Trevor(Private) June 29, 2016 at 10:34 am #49736Ok
There are some things that need fixing first, but what you want is possible and I can help with that. You have used category taxonomy for many fields. This is not good. Instead you should either make custom taxonomies, using something like CPT UI, OR add custom fields, using something like ACF. Then you can have different taxonomy or meta field form elements.
Anonymous(Private) June 29, 2016 at 8:38 pm #49836Ok, I have installed the plugin CPT UI and created taxonomies for the pages all with the labels of
– Main Floor Square Footage
– Levels
– No. of Bedrooms
– Office/Den
– Width (Feet)
– Depth (Feet)
– Other Featuresand reconstructed my search and filter form.
https://css-tricks.com/injecting-line-break/ I’m thinking that this might help but I can’t fingure out how to call out to the specific class that would need this line break, sorry I’m pretty new with css, still getting my head around it.Anonymous(Private) June 30, 2016 at 3:37 pm #49910http://imgur.com/FJ4yki4 here is a link of what we are wanting it to look like at the top of the page.
-
AuthorPosts