- This topic has 7 replies, 3 voices, and was last updated 3 years, 5 months ago by
Fernando.
-
AuthorPosts
-
November 2, 2022 at 2:22 pm #2399024
John
Hi there,
I am using the latest WooCommerce updates for the theme and love the ability to manipulate all the colours that are in the customizer.
One thing I cannot see is where to edit the sub-menu drop down that appears when using the Ordering Select filter.
IN fact, when I try to inspect it to change the css, there is nothing available to inspect.
Is that something you can help with?
I want to change it from grey to white if possible.
Wondering how that can be done.
Many thanks!
JohnNovember 2, 2022 at 3:03 pm #2399061Leo
StaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
November 2, 2022 at 3:30 pm #2399081John
Yes – it is still in development so will turn off the maintenance page for now so you can takle a look see.
https://seedsofthesunbyronbay.com/shop/When you click on “DEFAULT SORTING”
The submenu dropdown background is a grey.
Let me know if that makes sense or where I could edit that in Generate Press.
Cheers!November 2, 2022 at 6:38 pm #2399179Fernando Customer Support
Hi John,
Try adding this in Appearance > Customize > Additional CSS:
form.woocommerce-ordering select[name="orderby"] { background-color: #ff0000; }Replace
#ff0000with the color value of your preference.November 2, 2022 at 9:15 pm #2399266John
Hi Fernando – thank you that worked nicely….Love your work.
Is it too cheeky to ask how to change the hover on mouseover color too?
I am really struggling to find anything I can edit in the inspector – where can you find this info from?November 2, 2022 at 9:55 pm #2399297Fernando Customer Support
Will adding this work for instance?:
form.woocommerce-ordering select[name="orderby"]:hover { background-color: #ff00ff; }If you’re referring to the individual hover color of the options in the Order dropdown, it’s defined by the Device OS / Browser.
There is no way to change the styles of that element using CSS.
It would require custom development or a plugin to insert a ‘fake’ select element in its place.
November 2, 2022 at 10:36 pm #2399329John
I did try that but it doesn’t seem to work.
It is fine for now – I appreciate your help and I have the main piece how I want it.Yes – I am meaning the individual hover color which changes to grey on Mouseover.
So that is controlled by JS or something else seomewhere?November 2, 2022 at 10:41 pm #2399334Fernando Customer Support
It’s uniquely controlled by each Operating System and Browser. We can’t easily change it as mentioned though.
-
AuthorPosts
- You must be logged in to reply to this topic.