Jump to content

[Share] How to change Product Detail Page Color

Recommended Posts

Posted

You can use these CSS code/tips to change Product Detail Page Color.

#1. All Product Detail Pages

You can open a Product > Hover on Edit > Click Edit Design

image.png.1bc7b1f8673c8b8997894c8112323ea7.png

Next, hover on top right > Click Edit Section

image.png.0ef96f2d6629f230b7d095f8bfe46e27.png

Next, click Colors and change product detail page color here

image.png.d1603eb929ee8e5e9c3560850b0a17f8.png

#2. Specific Product

You can edit Product > Additional Info > Add a Code Block > Paste this code

<style>
  .section-background {
      background-color: #f1f !important;
  }
</style>

image.png.1f315a1606f9ad62f1ad7222e8dbd10f.png

#3. Products belong specific Tag

Suppose you want to change product detail page color with products belong tag: Hand Craft

image.png.b18a1bbb0e564d2577879484f0759d17.png

Use this code to Custom CSS box

body:has(article.tag-hand-craft) .section-background {
    background-color: #f1f !important;
}

image.png.ea1eda3aba405ba2696468ae74aac991.png

#4. Products on specific shop page

You can add code to Shop Page Header Injection

<style>
.section-background {
    background-color: #f1f !important;
} 
</style>

image.png.cfd973d324a9b03aa90c52e64dd23275.png

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!)

  • Replies 0
  • Views 23
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

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


×
×
  • 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.