Jump to content

How can I get four columns to show up on mobile?

Recommended Posts

Site URL: https://lobster-dahlia-4tl7.squarespace.com/config/settings/site-visibility

I reached out and asked this last night and I got an answer! However, the code given only worked for one of the summary sections. It worked on the second summary block only and not the first. Is there anyway I can make both summary blocks have two columns on mobile instead of the bottom one only? And how can I prevent this from happening if I want to add more summary blocks?

pass: thephizzydrink

Thanks!!

Link to comment
1 hour ago, questionagain said:

Site URL: https://lobster-dahlia-4tl7.squarespace.com/config/settings/site-visibility

I reached out and asked this last night and I got an answer! However, the code given only worked for one of the summary sections. It worked on the second summary block only and not the first. Is there anyway I can make both summary blocks have two columns on mobile instead of the bottom one only? And how can I prevent this from happening if I want to add more summary blocks?

pass: thephizzydrink

Thanks!!

I suggest that we should arrange 2 item in one row in order to display full content and make it easy for reader

My suggestion code

@media only screen and (max-width: 767px) {
  .summary-item-list {
    display: flex !important;
    flex-wrap: wrap !important;
    height: auto !important;
    justify-content: space-evenly;
  }

  .summary-item-list .summary-item {
    width: 40% !important;
    height: auto !important;
    position: relative !important;
    top: 0 !important;
    left: unset !important;
    display: grid;
    grid-template-rows : 1fr 100px;
    grid-gap: 10px;
  }

  .summary-thumbnail-container, .summary-thumbnail.img-wrapper {
    height: 100% !important;
  }
  .summary-item-list .summary-item img {
    height: 100% !important

  }
}

Hope that it makes sense

Edited by bangank36

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, Keyword Highlighter
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

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.