Belik Posted February 8 Posted February 8 (edited) Please help. Version 7.1. Like to have two colums picture in product page. Two pictures side by side + Description. I use Simple Format, Full Width and Stacked Design. Hope to get pictures/photos like this: Edited February 8 by Belik
Belik Posted February 8 Author Posted February 8 I think I found solution: @media screen and (min-width: 768px) { .tweak-product-basic-item-gallery-design-stacked .ProductItem-gallery-slides-item { margin-bottom: 5px; position: relative; height: 100%; overflow: hidden; width: 45% !important; float: left !important; margin-right: 5px; } } tuanphan 1
paul2009 Posted August 18 Posted August 18 If anyone is looking for a PDP with a product gallery in two columns (Simple Layout, Design: Stacked) here is an alternative using CSS Grid: /************************************** Two columns in Product Gallery on Simple PDP with Design:Stacked Copyright SF Digital https://sf.digital Use freely in your Custom CSS but do NOT re-publish. **************************************/ @media screen and (min-width: 1025px) { /* Remove default psuedo element */ .ProductItem-gallery-slides::before { content: none !important; } /* Use Grid to create 2 columns */ .ProductItem-gallery-slides { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; /* Gap between items */ } .tweak-product-basic-item-gallery-design-stacked .ProductItem-gallery-slides-item { /* Remove default margin of 25px */ margin: 0; box-sizing: border-box; } } Did this help? Please give feedback by clicking an icon below ⬇️ florencepicol 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment