Jump to content

2 columns in mobile applied to only 1 summary

Recommended Posts

Site URL: http://www.bbarinaga.com

Hello, I am on 7.0 and am attempting to simply make one individual summary list (grid) switch to 2 columns on mobile. 

I have used the following code and it works, but the change is applied to all summaries and I only need it for this one: https://www.bbarinaga.com/portadasebooks

 

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

.sqs-block-summary-v2 .summary-item.positioned {

    width: 50% !important;

    position: static;

}

.sqs-block-summary-v2 .summary-item-list {

    display: flex;

    flex-wrap: wrap;

    flex-direction: row;

}

}

 

Can someone help me?

 

 

 

Site URL: https://www.bbarinaga.com/portadasebooks

https://www.bbarinaga.com/portadasebooks

password: 1234

Link to comment

Add to Page Settings . Advanced > Header

If you use Personal Plan > You can edit Page > Add Code Block

<style>
  @media screen and (max-width:640px) {
.sqs-block-summary-v2 .summary-item.positioned {
    width: 50% !important;
    position: static;
}
.sqs-block-summary-v2 .summary-item-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
}
</style>

 

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
  • 1 year later...
17 hours ago, RaulSantos said:

Hi Tuanphan! It worked for me. I was trying to figure it out how separate a bit the columns. 

Thank you!

You mean add space between columns?

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.