Forums › Forums › Search & Filter Pro › How to make submit button inline?
Tagged: css, submit button
- This topic has 8 replies, 3 voices, and was last updated 8 years, 8 months ago by Ross.
-
Ross Moderator(Private) March 7, 2016 at 10:20 am #38806
Not sure, do you have a link?
This is really a CSS question but I’ll take a look.
Thanks
Anonymous(Private) March 14, 2016 at 9:50 am #39353Hi, how to make each inline: the select and the submit button? URL is:
https://www.legalpenguin.com/searchtest/Ross Moderator(Private) March 14, 2016 at 2:05 pm #39384Hi Jennifer
To make it inline, you just need to make the wrapping LI elements inline:
.searchandfilter ul li { width: auto; display: inline-block; }
If the container of the search form is too wide, then of course the elements will begin to stack.
Thanks
Anonymous(Private) March 15, 2016 at 11:50 pm #39489Hi this isn’t working for me…I added the following code to the plugin’s admin.css file
.searchandfilter ul li
{
width: auto;
display: inline-block; !important
}li.sf-field-taxonomy-maker{display: inline-block !important}
li.sf-field-taxonomy-model{display: inline-block !important}
li.sf-field-taxonomy-guage{display: inline-block !important}
li.sf-field-taxonomy-caliber{display: inline-block !important}
li.sf-field-submit{display: inline-block !important}the website is dev.robinhollow.com
password to view the website is “RHO!”Help!
Ross Moderator(Private) March 16, 2016 at 9:36 am #39511Hi Kathryn
You must not edit any files within Search & Filter – this is the wrong place to add the code.
You must find the right place (in your theme) to add custom CSS.
Usually, this is in your theme folder and called
style.css
, but some themes do this differently – this is something you need to find out.Once you know this, you can add the above code.
Thanks
Ross Moderator(Private) March 21, 2016 at 5:29 pm #40039Hey Kathryn
Can you open a new ticket?
Thanks
-
AuthorPosts