Jump to content

Mobile View - Grid

Recommended Posts

  • Replies 7
  • Views 322
  • Created
  • Last Reply
  • 3 months later...
1 hour ago, lienmt said:

Hello everyone, i am trying to use this code in my Shop Page but without succes, any ideas why ? a hint ?

target page here: https://www.luxyleatherbags.com/shop

 

Thanks

Add to Home > Settings > Advanced > Code Injection > Header

<style>
  @media screen and (max-width:767px) {
  .products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-column-gap: 5px;
}
  }
</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

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.