How to create a two column list section on mobile

This tutorial is specifically for the latest version of Squarespace, known as 7.1, and won't work for older versions of Squarespace. For more information, visit https://insidethesquare.co/themes

In this tutorial I’ll show you the trick I used to create a two column list section on the mobile version of my Squarespace site.

This code is being tricky and works best when installed on a single page using page header code injection. If you are on a personal plan, you can also use a code block on the page.

Learn more about your options for single page codes at insidethesquare.co/singlepage

A few pro tips before you dig in:

⚠️ This is specifically for version 7.1 - older versions of Squarespace don’t have list sections.

✨ There is more than one way to do this! This is just one approach of many because code is super customizable. 

🙋 If you need any help along the way, head on over to insidethesquare.co/code-help to see my current support options. 

Here are the steps from this tutorial along with the code that worked for me:

  1. Make sure you’re using a simple list section; this tutorial wont work for a carousel or banner.

  2. On your pages menu, click on the gear icon next to the page you want to add this code to.

  3. Scroll down to advanced and click on that option.

  4. Paste this code there, adjusting the values in bold to change up the font sizes and various padding options so it looks perfect for your own site design:

<style>
  @media only screen and (max-width: 640px){
  .user-items-list-simple:not([data-num-columns="1"]) {
    grid-template-columns: repeat(2,1fr);
    grid-gap: 10px!important
  } 
    .list-item-content__title{
      font-size: 1rem!important
    }  
   .list-item{
     padding: .5rem!important
   }
  }</style>
insidethesquare

Squarespace Circle Leader & Creator of InsideTheSquare.co

https://insidethesquare.co
Previous
Previous

How to use multiple fonts in a list section title in Squarespace

Next
Next

How to create list image hover effects in Squarespace 7.1