Jump to content

Same Length Buttons on 7.0?

Recommended Posts

Hey everyone! I'm trying to get all my buttons to be the same length on this page but I can't figure it out. I tried using this and it didnt work:

#collection-63c8097b9f57561f5d604f40 {
  .sqs-block-button .sqs-block-button-element--medium {
     width: 360px !important;
     max-width: 70% !important;
  }
}

Thoughts?

Link to comment
  • Replies 6
  • Views 287
  • Created
  • Last Reply

Top Posters In This Topic

On 2/3/2023 at 2:04 AM, wa7245 said:

cupsmission.com/links

Add to Design > Custom CSS

div#page-63c8097b9f57561f5d604f40 .button-block a {
    min-width: 350px;
    display: inline-block;
}
@media screen and (max-width:640px) {
    div#page-63c8097b9f57561f5d604f40 .button-block a {
    min-width: 300px;
        padding-left: 20px;
        padding-right: 20px;
        white-space: Nowrap !important;
        font-size: 16px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 2/7/2023 at 9:58 PM, tuanphan said:

Add to Design > Custom CSS

div#page-63c8097b9f57561f5d604f40 .button-block a {
    min-width: 350px;
    display: inline-block;
}
@media screen and (max-width:640px) {
    div#page-63c8097b9f57561f5d604f40 .button-block a {
    min-width: 300px;
        padding-left: 20px;
        padding-right: 20px;
        white-space: Nowrap !important;
        font-size: 16px;
}
}

 

This is perfect! Will this work as well for crossovermalawi.com/links ?

Link to comment
On 2/12/2023 at 10:55 PM, wa7245 said:

This is perfect! Will this work as well for crossovermalawi.com/links ?

With new site, use this code

div#page-63c96d2251cf815b853a5c43 .button-block a {
    min-width: 350px;
    display: inline-block;
}
@media screen and (max-width:640px) {
    div#page-63c96d2251cf815b853a5c43 .button-block a {
    min-width: 300px;
        padding-left: 20px;
        padding-right: 20px;
        white-space: Nowrap !important;
        font-size: 16px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

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

×
×
  • 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.