change colour of drop down boxes to grey with black font

Hi Shopify fans -

I would like to change colour of drop down boxes to grey (colour code: D8D8D8) with black font (the same colour as it is now) So it more clearer to view.

Does anyone know what code it is to do this please?

Screen shots attached - your help is greatly appreciated.

2 Likes

Hi @vibehome ,

Step 1: Go to Shopify Admin β†’ Online Store ->Theme β†’ Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Hi @vibehome

check thiso ne.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

details[open]>.header__submenu {
    background: #e5e5e5 !important;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Awsome thats great, Thank you for your help this evening. Just those things have been bugging me for a while :grin: