Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Question

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

2 answers to this question

Recommended Posts

  • 1

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;
  	}
}

 


Please hit LIKE to share your appreciation of posts that are helpful or useful. 

The like button is somewhere over thereover-there.jpg

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...