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
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

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.