- This topic has 2 replies, 3 voices, and was last updated 9 years, 8 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › css
Tagged: css
Hello,
I’m trying to style the search and filter form using the tutorial here http://www.scribbletribe.com/how-to-style-the-select-dropdown/
Do you have a list of classes that I can use for example when drop down is selected, hovered, etc
Sorry, I’m no expert in css
Cheers
First be sure you’re referring to the correct class of the element you want to style, and note that this plugin uses the same class when constructing all filters using the same elements (e.g. if you create four different filters, but all use dropdowns, you’ll get the same class on all dropdowns) SO if you create styles for this class, it will apply to all similarly constructed dropdowns. To target JUST a specific filter, use it’s form ID instead.
For different states, e.g. hover, active, etc….use the pseudo class selectors :hover, :active, etc. Here’s a great tutorial on styling using these:
Thanks Trisha, and hey there..
Yeah the CSS is you basic listy stuff:
.searchandfilter ul
{
border:1px solid #f00;
}
.searchandfilter ul li
{
color:#f00;
}
However each item will have a specific classname attached, depending on the field – you will need to check the DOM to see which class names are used on you fields, because they reflect the names/content of these fields.
Thanks
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy