Jump to content

Force 1 testimonial per row on mobile

Recommended Posts

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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

What is the page url

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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

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.