Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
sigilscent

Change product page options dropdown background color

Question

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

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

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.


You can send your question to my email to get faster answer.

How to Setup Password & Share URL  Squarespace Customer Care

Share this post


Link to post
  • 0
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!

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...