Jump to content

Change portfolio grid in mobile view

Go to solution Solved by Lesum,

Recommended Posts

  • Replies 2
  • Views 151
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted

Hi @veggielicious_wolfgang, To display portfolio items in two columns on mobile, add the following code under Website > Pages > Website Tools > Custom CSS.

@media screen and (max-width: 767px) {
    #gridThumbs {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.