Jump to content

Buttons colliding

Recommended Posts

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
  • Replies 6
  • Created
  • Last Reply
 
Site privé
Ce site est privé. Si vous en êtes le propriétaire ou si vous êtes un contributeur, connectez-vous.
 

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

add to Home > Design > Custom CSS

/* Mobile */
@media screen and (max-width:640px) {
sqs-block-button .sqs-block-button-element
{
    width: 200px;
}
}

 

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
6 minutes ago, Ewalia78 said:

Thank you for your help but now my buttons are not the same size anymore. 

 

Have you removed your code?

Your code works on Tablet & Desktop

My code works on only Mobile

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

Yes i did but on mobile i didn't have any problem. My buttons did pile up when the website goes in mobile mod. My problem is in between the full screen mod and the mobile screen mod . From screen resolution 1400 x 900 to 650 x 850. You can see in the picture that the white buttons are on each other instead of stacking up. Thank you for the help btw.

I think the problem is the class col sqs-col-4 span-4.

Capture d’écran 2019-11-20 à 09.24.41.png

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.