Jump to content

Product details page: can I use a grid instead of slideshow for gallery images?

Recommended Posts

  • Replies 15
  • Views 837
  • Created
  • Last Reply
1 hour ago, kimbeck said:

Thanks for your help! That's actually distorting the images (making them too narrow). Is there a way to retain square and have them in a grid above or below the text?

 

You're right, let me check

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
10 hours ago, kimbeck said:

Thanks for your help! That's actually distorting the images (making them too narrow). Is there a way to retain square and have them in a grid above or below the text?

 

Hi there, tried another shot:
image.thumb.png.28711007642d038dfe2d7b798fd3e9b7.png

#productSummary {
  display: flex;
  flex-flow: column;
}
#productSlideshow {
  position: relative !important;
}
#productGallery {
  width: 100%;
  float: right;
  order: 1;
}
#productGallery .wrapper {
  padding-bottom: 0 !important; 
  position: relative;
  height: auto;
}
#productDetails {
    width: 100%;
    margin-top: 0px;
    order: 0;
}
#productSlideshow .sqs-gallery-design-stacked-slide {
  opacity: 1 !important;
  position: relative;
  float: left;
  overflow: auto !important;
  height: auto !important;
  margin-bottom: 10px;
  padding-left: 10px;
  box-sizing: border-box;
  width: 50% !important;
}
#productSlideshow .sqs-gallery-design-stacked-slide img {
  position: relative !important;
  float: none;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
}
#productThumbnails {
  display: none;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
4 hours ago, kimbeck said:

thank you! But now it's just stacking all the images. I'd really just like a grid like this:

http://www.idealcities.com/a-field-guide-to-weeds

I will update the code above, you can copy from there

image.thumb.png.606ae8a6f99fb179340e01914eb48cbf.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
10 minutes ago, kimbeck said:

Also is there a way to put the text below the images?

 

Change this line to edit the order

image.png.0396ebc8b7f436862bfd76f5ecd012bf.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
5 minutes ago, kimbeck said:

It worked! Thanks!

Also, is there a way to change the padding around the commerce front page grid? So that it matches what is on other pages? LIke this: http://www.idealcities.com/#/roadweavings/

or http://www.idealcities.com/

Here you go, add this below the current code

#canvas {
  max-width: none;
}
#header {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

image.thumb.png.4151ab745deeb26f198b57e488d28ee7.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Because shop page and product page are different ones, do you want space bigger or smaller?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
48 minutes ago, kimbeck said:

Ok! For shop page, smaller padding between images, to match what it is on other pages. On site styles, it is 1.6% for the index page.

 

#productList .product {
      margin-left: 1.57480315%;
    margin-top: 1.6%;
}

image.thumb.png.e9dbab5d54755132b93d62a963649a56.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

In case you need expand the space on product page

#productGallery #productSlideshow .slide {
    padding-left: 1.57480315%;
    padding-top: 1.6%;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

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