Jump to content

Mobile Summary Carousel One Item Per Slide

Recommended Posts

Posted (edited)

Site URL: https://www.yungrealestate.com/availabilities/3-hacienda-court

I am having a few issues displaying only one item per row in a Summary Carousel on Mobile. Below there is an overflow of the second item.

Overflow.png.a9000c6fd07931a60cef244f1c6a9214.png

This leads to the excerpt text being slightly cut off on the second item with more of an overflow from the third item.

640358954_CutOff.png.d45893fd3738060a3c2ef17e65bf25ab.png

For some reason, the Summary Carousel Pagination only works for up to three items. There are supposed to be five items for this Summary Block as displayed on Desktop.

Pagination.png.f76d0521f312aed1b17d1edbea17ff62.png

Current Code

CSS

.sqs-block-summary-v2 {
  .summary-title, .summary-heading {
    font-family: "playfair-display";
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
  }
  .summary-excerpt h4 {
    font-size: 20px;
    line-height: 0em;
    margin-top: 15px;
  }
  .summary-excerpt p {
    font-size: 14px;
    line-height: 0em;
  }
}

@media screen and (max-width: 767px) {
  .sqs-block-summary-v2 .summary-item {
    width: 100% !important;
  }
  .sqs-block-summary-v2 {
    .summary-title, .summary-heading {
      font-size: 1.6rem;
    }
  }
}

Code Block (to hide the current Blog Post the Summary Block is on)

<style>
  .summary-item-list .summary-item:nth-child(1) {
    display: none;
}
</style>

Thanks for any help guys!

Edited by AllanYung
  • 2 years later...
  • Replies 1
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.