Forums › Forums › Search & Filter Pro › Drop Down Menu Hover Colour
Tagged: css styling, menu hover color, styling
- This topic has 22 replies, 2 voices, and was last updated 4 years, 8 months ago by Trevor.
-
Anonymous(Private) March 15, 2020 at 8:19 pm #236722
Hi
Great plugin! Have a pretty basic question though. Could you tell me what css I need to use to change the background hover color for the taxonomy drop-down menu (without combobox). Don’t want it to be blue but instead: #08572a;
Hope you can help!
Thanks
DaleTrevor(Private) March 16, 2020 at 10:26 am #236741Are you able to send me a live link/URL to your search page so I can take a look?
Any annotated screenshots (of what you want) you can make to help me would be appreciated. You will need to upload images to an external file sharing site, like dropbox, and share the link(s) with me.
Trevor(Private) March 16, 2020 at 12:33 pm #236764You mean the ‘Party Size’ and ‘Bedrooms’?
Those hover colors are set by your browser. The only way to reliably style them is to change them to Select2 controls.
This post might help (ignore the first 3 paragraphs):
https://support.searchandfilter.com/forums/topic/format-question/#post-221332
Trevor(Private) March 16, 2020 at 1:36 pm #236786Then this maybe:
<script> (function ( $ ) { $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ $('#search-filter-form-13155 .sf-field-taxonomy-partysize select.sf-input-select').select2(); }); }(jQuery)); jQuery(document).ready(function($){ $('#search-filter-form-13155 .sf-field-taxonomy-partysize select.sf-input-select').select2(); }); </script>
-
AuthorPosts