dmessi Posted July 26, 2023 Share Posted July 26, 2023 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
Ziggy Posted July 26, 2023 Share Posted July 26, 2023 Can you share your website URL and the page you want this on? tuanphan 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dmessi Posted July 27, 2023 Author Share Posted July 27, 2023 this is website url, but problem only occurs from phone view so ive attached a screenshot aswell! thanks man! https://www.precioustimeopals.com/shop Link to comment
tuanphan Posted July 27, 2023 Share Posted July 27, 2023 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 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment