Ewalia78 0 Posted November 26 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 ! Share this post Link to post
1 colin.irwin 17,342 Posted November 26 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; } } 1 1 Ewalia78 and tuanphan reacted to this Please hit LIKE to share your appreciation of posts that are helpful or useful. The like button is somewhere over there Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here Share this post Link to post
0 Ewalia78 0 Posted November 27 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 ! Share this post Link to post
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 !
Share this post
Link to post