Jump to content

Change product page options dropdown background color

Recommended Posts

Site URL: https://www.sigilscent.com/shop/prima-materia

I'm trying to figure out how to customize the background color of the dropdown on product options.

As you can see in the link and attached file, each of my product pages has a unique background color that's different from the homepage background color. It appears the dropdown for the "size" product option is pulling in the standard background color, and there's no way to change this in the site styles options.

Any suggestions? I'm guessing I need a CSS injection on each product page? Help!

Screen Shot 2020-05-21 at 10.37.46 AM.png

Link to comment
  • Replies 2
  • Views 386
  • Created
  • Last Reply

To change all products page background, add this to Home > Design > Custom CSS

.collection-type-products.view-item .Main--products-item {
    background: #dce5d7 !important;

To change for One Product, add to Home > Design > Custom CSS

body#item-5bd363691905f49b74554bdf .Main--products-item {
    background: #dce5d7 !important;

Repalce body#item... with Product Page ID. See how to find Page ID.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...
On 5/25/2020 at 2:55 AM, tuanphan said:

Thank you. I tried the second example of code while replacing the item ID and hex code for each product page, but the dropdown was still the same site-generic cream color on the dropdown. Any other ideas? Thank you for your help!


Link to comment


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.