Forums › Forums › Search & Filter Pro › Edit field boxes
- This topic has 18 replies, 2 voices, and was last updated 8 years, 1 month ago by
Anonymous.
-
Trevor(Private) June 4, 2017 at 9:30 am #113077
This would typically require custom CSS, and so being able to see a live link/URL would help, but the core CSS would look like this:
.searchandfilter > ul > li { display: inline-block; margin-right: 20px; float: left; } .searchandfilter > ul > li:last-child { margin-right: 0; } .search-filter-results {clear: both;}
Anonymous(Private) June 4, 2017 at 9:43 am #113079Wow, thankyou for your quick reply. I have made a live link: http://www.redroseinvitations.com.au/wordpress/product-category/invitations/wedding-and-engagement/
Is the a way to expand the text and boxes so that it is readable: https://ibb.co/k4uCVv
Once one option is selected, it automatically expands the boxes: https://ibb.co/iDB9Av
Thanks : )
Anonymous(Private) June 4, 2017 at 9:52 am #113087Thanks, I have changed it, screenshot here: https://ibb.co/bCkaiF
Not sure if this is right, I added the code to “scripts and stlyes” – screenshot here: https://ibb.co/dew4ca
Anonymous(Private) June 4, 2017 at 10:09 am #113091no problems, I have changed that code, 2 questions if I can ask please;
– Can the description text be above or below the form: https://ibb.co/nihSxa
– can the responsive version have an expandable box? https://ibb.co/nndZcaThanks
Anonymous(Private) June 4, 2017 at 10:17 am #113097Thankyou : )
Dont mean to be a pain but is it possible to make the boxes smaller in width, to look more like this: https://ibb.co/bLDLiF
Trevor(Private) June 4, 2017 at 10:27 am #113099I believe it is your theme that is doing this, with this CSS (the width: 220px bit):
select { color: #737171; font-size: 14px; padding: 5px; width: 220px; }
So, the first thing is to undo that for the search form, and then set a minimum width for each control:
.searchandfilter select { width: auto !important; } .searchandfilter li.sf-field-taxonomy-product_tag select.sf-input-select { min-width: 150px; }
Where the
sf-field-taxonomy-product_tag
is the class name of that control (you can see this if you inspect the page using the browser inspector).I can’t test this here, as the Select2 script adds the CSS when the page is made.
Anonymous(Private) June 4, 2017 at 10:35 am #113101Thanks, I have amended that, can the submit button be bigger? https://www.redroseinvitations.com.au/wordpress/product-category/invitations/wedding-and-engagement/
-
AuthorPosts