Jump to content

Force 1 testimonial per row on mobile

Recommended Posts

  • 2 weeks later...
  • Replies 2
  • Views 513
  • Created
  • Last Reply

What is the page url

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

@bangank36 The page URL is snorkelcookislands.com/about-us

I've been trying to code the summary blocks on snorkelcookislands.com/about-us to only show 1 item per view on mobile.
 
I've finally managed to do it, but the rest of the items do not show up in the carousel on either desktop or mobile. Please help!
 
Here is the code:
 
[data-section-id="5ed0ee28ef385f4344febfb8"], [data-section-id="5ee7d68e4833d0007a2953e7"] {
  @media screen and (max-width: 640px) {
    .summary-item-list {
      display: flex;
    flex-direction: column;
   }}}
.summary-item {
      width: 100%!important;
      margin-bottom: 50px;
    }
img.summary-thumbnail-image {
      width: 100%!important;
  height: 100%!important;
      margin-bottom: 50px;
    }
.summary-item:nth-child(n+2) {
      display: none;
    }
 

Screen Shot 2020-06-18 at 8.32.34 AM.png

Screen Shot 2020-06-18 at 8.32.26 AM.png

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.