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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...

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.