Jump to content

How to add 2 column list into home page on mobile view?

Recommended Posts

Site URL: https://salamander-sealion-32lx.squarespace.com/

Hi,

I'm having difficulty getting the products on my home page to show in a 2 column list [picture attached] on mobile view. I have been able to achieve it on my product page by using the following code (below) but my home page does not change.

@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: 10px
    }
}

 

Site URL: https://salamander-sealion-32lx.squarespace.com/

PW: DEMO

 

thanks!

Screen Shot 2022-09-02 at 7.26.42 pm.png

Link to comment
  • Replies 1
  • Views 104
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.