Ewalia78 Posted November 26, 2019 Share Posted November 26, 2019 Hello everyone. I need help on my website. I used a custom css profile to have the buttons with the same width but then when i go in responsive mode the buttons are colliding and don't stack on each other. Here is my website link : https://rhino-bullfrog-fc8l.squarespace.com/le-conseil Here is the css that i used to have them in the same size : sqs-block-button .sqs-block-button-element { width: 350px; } Thank you for the help ! Link to comment
colin.irwin Posted November 26, 2019 Share Posted November 26, 2019 You'll need to set a breakpoint at whatever stage the layout breaks (looks like roughly 1400px wide) At that breakpoint you should target the collection id to restrict the rule to one page and then for the columns that are 4 wide to span 100% of the available width. @media only screen and (max-width:1400px) { #collection-5cda8559cb2c42000142030b section#le-conseil-1 .sqs-col-4 { width: 100% !important; } } If you're looking for a Squarespace Developer, drop me a line. Link to comment
Ewalia78 Posted November 27, 2019 Author Share Posted November 27, 2019 On 11/26/2019 at 3:08 PM, colin.irwin said: You'll need to set a breakpoint at whatever stage the layout breaks (looks like roughly 1400px wide) At that breakpoint you should target the collection id to restrict the rule to one page and then for the columns that are 4 wide to span 100% of the available width. @media only screen and (max-width:1400px) { #collection-5cda8559cb2c42000142030b section#le-conseil-1 .sqs-col-4 { width: 100% !important; } } Thank you very much for your help Sir . It's working perfectly now ! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.