Jump to content

Changing inventory display on phone view

Recommended Posts

hey guys,

having trouble changing the inventory display for phone view on my website. currently it displays 1 inventory item per row when looking from phone view, where as when looking from desktop view it displays 4 items per row. I would like to be able to change it so that the user sees 2 or 3 items (preferably 3) per row when looking at my inventory on a phone or mobile device. any ideas how to do this? this has been driving me crazaaay

thanks heaps!

dario. 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Can you share your website URL and the page you want this on?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
2 hours ago, dmessi said:

this is website url, but problem only occurs from phone view so ive attached a screenshot aswell!

thanks man!

https://www.precioustimeopals.com/shop

Screenshot (14).jpg

Remove your code & use this new code

@media only screen and (max-width: 640px) {
    .products .list-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 10px;
    }
}

If you want 2 columns, just change number 3 to 2

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.