enew Posted September 8 Share Posted September 8 I'm working on a page that needs a table of contents with icons and buttons. I like the setup of the Simple List section with cards in 5 columns, but when I make my browser smaller than full screen on a laptop, the cards stay the same size and create multiple rows. I'd like them to scale according to the width of the browser (respond to it) to stay in one line of 5 columns until it gets to mobile width, at which point one column is fine. I've spent a bunch of time clicking around to find a solution but haven't been successful yet. Is this possible? See the section called "Contents". Icons are sketches/stand-ins. Thanks in advance 🙂 Link to comment
Ziggy Posted September 8 Share Posted September 8 Can you share your website URL please? EarvinChong 1 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
enew Posted September 24 Author Share Posted September 24 www.vcga.net/tens-tools-test Link to comment
Ziggy Posted September 26 Share Posted September 26 Try this as a starting point, add to Custom CSS: @media screen and (min-width: 768px) { .user-items-list-simple[data-num-columns="5"] { -ms-grid-columns: (1fr)[5] !important; grid-template-columns: repeat(5,1fr) !important; } } tuanphan 1 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
enew Posted October 23 Author Share Posted October 23 (edited) Thank you, Ziggy! Unfortunately, it didn't work when I added it into the Squarespace custom CSS area. Can you advise further? Edited October 23 by enew Link to comment
tuanphan Posted October 24 Share Posted October 24 11 hours ago, enew said: Thank you, Ziggy! Unfortunately, it didn't work when I added it into the Squarespace custom CSS area. Can you advise further? Try this CSS code @media screen and (min-width:768px) { .user-items-list-item-container[data-section-id="64fb8eda9d883626580ae1de"] { grid-template-columns: repeat(5,1fr) !important; } }  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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment