Jump to content

How to get a summary blog carousel to stack in mobile squarespace?

Recommended Posts

Site URL: http://www.her-table.com/home2

Hi, 

If anyone could help me that would be greatly appreciated. I am trying to adjust the layout of my carousel blog to go from side by side to a stacked look on mobile view.  Password to enter site is: Harmony

I have tried using this code: 

@media screen and (max-width: 640px)  {

#blog-navigation { 

 .summary-item-list  {

display: flex; }

}

I know there is more code needed to make the adjustment, but my site does not respond to this. This should squish all the blog posts together as step one to getting it into a stacked look. 

The full generic code ive been using looks like this: 

#your-section-name-here {
  @media screen and (max-width: 640px) {
    .summary-item-list {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
          -ms-flex-direction: column;
              flex-direction: column;
    }
    .summary-item {
      width: 100%!important;
      margin-bottom: 50px;
    }
    .summary-item:nth-child(n+4) {
      display: none;
    }
    .summary-carousel-pager {
      display: none!important;
    }
  }
  @media screen and (min-width: 641px) {
    .button-block {
      display: none;
    }}}

 

Please let me know if you can help. 

7.0 site. 

Link to comment
  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply
On 1/7/2021 at 10:01 PM, jd2020 said:

Site URL: http://www.her-table.com/home2

Hi, 

If anyone could help me that would be greatly appreciated. I am trying to adjust the layout of my carousel blog to go from side by side to a stacked look on mobile view.  Password to enter site is: Harmony

I have tried using this code: 

@media screen and (max-width: 640px)  {

#blog-navigation { 

 .summary-item-list  {

display: flex; }

}

I know there is more code needed to make the adjustment, but my site does not respond to this. This should squish all the blog posts together as step one to getting it into a stacked look. 

The full generic code ive been using looks like this: 


#your-section-name-here {
  @media screen and (max-width: 640px) {
    .summary-item-list {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
          -ms-flex-direction: column;
              flex-direction: column;
    }
    .summary-item {
      width: 100%!important;
      margin-bottom: 50px;
    }
    .summary-item:nth-child(n+4) {
      display: none;
    }
    .summary-carousel-pager {
      display: none!important;
    }
  }
  @media screen and (min-width: 641px) {
    .button-block {
      display: none;
    }}}

 

Please let me know if you can help. 

7.0 site. 

Please provide the site password

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
  • 3 months later...
  • 5 weeks later...
23 hours ago, Beth_King said:

Thank, but thats not possible for the site i'm building. I just want to stack the first 3 summary blog entries in the carousel on mobile. Side by side the images are too small.

You can add 2 summaries, top (current summary), bottom (summary with 1 item/row), then we will give the code to show bottom summary on mobile only

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.