Jump to content

How to customize the background color of related products

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi, 

On the product details page, I would like to have a different background color for the related products to differentiate them. Is it possible to customize it?

Thanks in advance, 

 

Federica 

  • Replies 8
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Link to the site.

Work With Me 🖥️💻📱

Please remember to tag me so that I get a notification and respond to your help requests.

If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly.

You can also thank me or make requests by buying me a coffee . (Caffeine fuels me to take more requests)

For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials)

For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩

For Custom Plugins email me 🧩

  • Solution
Posted
On 3/21/2024 at 2:31 PM, FFederica said:

Try using this code to Website > Website Tools > Custom CSS

section.ProductItem-additional+section .ProductItem-relatedProducts, section.ProductItem-additional+section h2, .ProductItem-relatedProducts {
    background-color: #f1f !important;
}

 

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

  • 2 weeks later...
Posted

@tuanphan, thanks a lot for your precious help!

I have one more question: is it possible to force the "You might also like" section to include products from other categories as well? 

Posted
On 4/5/2024 at 7:54 PM, FFederica said:

@tuanphan, thanks a lot for your precious help!

I have one more question: is it possible to force the "You might also like" section to include products from other categories as well? 

I see it has already product here?

https://carillon-cylinder-2nhh.squarespace.com/shop/p/butterfly-wings

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

Posted
On 4/10/2024 at 5:07 PM, FFederica said:

@tuanphan yes but the products shown belong to the same category. I would like products from other categories to be shown there 

I don't know this, or you can consider adding Summary Block into each product to customize this

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

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.