bbouras Posted July 31, 2022 Share Posted July 31, 2022 Hello, I am needing help customizing just the Related Products section of my Product Pages. I am wanting to make just the Related Products section have a different background color to help differentiate it from the actual product being looked at. I am also wanting to limit the number of related products that are visible. Example: Currently it's set to displaying five products but I only want to suggest three. Any help in fixing this would be greatly appreciated! Thank you! -Basil Link to comment
creedon Posted August 1, 2022 Share Posted August 1, 2022 Please post the URL for a page on your site where we can see your issue. If your site is not public please set up a site-wide password, if you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works. Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
paul2009 Posted August 1, 2022 Share Posted August 1, 2022 7 hours ago, bbouras said: I am also wanting to limit the number of related products that are visible. Example: Currently it's set to displaying five products but I only want to suggest three. See my post Improving the 'Related Products' section to limit the number of related products to a single row. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
bbouras Posted August 1, 2022 Author Share Posted August 1, 2022 @paul2009 Thanks for posting your article. Could you tell me where this code needs to be injected? In the Custom CSS tab in Design or on the Advanced Settings of the Store Page? Thanks! Basil Link to comment
bbouras Posted August 1, 2022 Author Share Posted August 1, 2022 @creedon Sure thing – My store is at bourasdesigns.com/prints Just click on any item and at the bottom of each product page is the Related Products section. Hope that makes sense. Basil Link to comment
bbouras Posted August 1, 2022 Author Share Posted August 1, 2022 @paul2009 Check that! One day I'll learn to read all the words. I got it copied in the Custom CSS section but nothing is changing on my page though... Other suggestions? Link to comment
paul2009 Posted August 1, 2022 Share Posted August 1, 2022 (edited) 9 hours ago, bbouras said: nothing is changing on my page though... Hmm, that's strange. The markup on your site is different (of course I didn't know this earlier because I didn't know the site's URL 🙂). Try this instead: .ProductItem-relatedProducts .grid-item:nth-child(1n+4) { display: none; } Edited August 1, 2022 by paul2009 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment