hayden231 Posted February 26, 2022 Share Posted February 26, 2022 Site URL: https://everlastcreative.com/ Hello, I'm wanting my 'Navigation' list. To be split 2x2 the second it can no longer retain the 1x4 alignment. Instead of going from (1x4) desktop, to (1x3) tablet then 2x2 and then 4x1 for mobile. Is there any custom CSS that could achieve that? Any help would be AMAZING!! Link to comment
Caroline_Smith Posted February 27, 2022 Share Posted February 27, 2022 Hi! Try adding this CSS code snippet to Design > Custom CSS. This will force that list to be a 2x2 grid when the 1x4 grid changes: @media(max-width: 1100px) { [data-section-id="6184eca70288483db74037b9"] .user-items-list-simple { grid-template-columns: repeat(2,1fr) !important; } } hayden231 and tuanphan 2 Feel free to email me with any customization inquiries or questions you may have! Free Squarespace Resources: DevTools Minicourse, 11-Step Guide to Improve Custom CSS, Free Product/Pricing Comparison Table Generator Link to comment
hayden231 Posted March 4, 2022 Author Share Posted March 4, 2022 Hey Caroline, Thanks so much for your help! Unfortunately I'm not managing to achieve the 2x2 despite your code 😞 The same problem is still presenting :(( Is there perhaps an alternative piece of code? Link to comment
hayden231 Posted March 4, 2022 Author Share Posted March 4, 2022 NEVER MIND IT WORKS ! YOUR AMAZING THANK YOU 😀😅 Caroline_Smith 1 Link to comment
Caroline_Smith Posted March 4, 2022 Share Posted March 4, 2022 Glad you figured it out! Feel free to email me with any customization inquiries or questions you may have! Free Squarespace Resources: DevTools Minicourse, 11-Step Guide to Improve Custom CSS, Free Product/Pricing Comparison Table Generator 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