Jump to content

How to get consistent button sizes? - 7.0

Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
21 hours ago, camp said:

Site URL: https://oboe-gold-frbd.squarespace.com/register

The site password is: hotballoon1

SS by default adjusts the width of the three buttons based on their text. How can I get all three buttons to be the same length?

P.S. if anyone also knows how to adjust the buttons colors individually, please let me know. It'd be nice to have more colorful buttons

Screen Shot 2022-07-25 at 11.44.45 AM.png

Try adding to Home > Design > Custom Css to set the same width for three buttons:

#block-yui_3_17_2_1_1658339303941_1887 + .row .sqs-block-button-container a {
  min-width: 200px;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Setting color style for each button via the following code

#block-yui_3_17_2_1_1658339303941_3946 a {
  background: red;
}

#block-yui_3_17_2_1_1658339303941_5356 a {
  background: blue;
}

#block-yui_3_17_2_1_1658339303941_3003 a {
  background: green;
}

To get the right id for block you can use the following extension: Squarespace Id finder

How to use it: https://recordit.co/kUIH4uco0b

image.thumb.png.405572808c9e96af69694d95b87629b7.png

Hope it makes sense

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.