Jump to content

Border around button

Recommended Posts

I added the following code to create borders around my buttons.

.sps-block-button.sps-block-button-element—small {
  background-color:#E93F33;
  border: 2px solid, black; 
  width: 75%

Th code is working on all the buttons except one, which is placed over a block that has a colored background. Is there a way to make the border appear here?

Link to comment
  • Replies 3
  • Views 763
  • Created
  • Last Reply
3 hours ago, alman50 said:

I added the following code to create borders around my buttons.

.sps-block-button.sps-block-button-element—small {
  background-color:#E93F33;
  border: 2px solid, black; 
  width: 75%

Th code is working on all the buttons except one, which is placed over a block that has a colored background. Is there a way to make the border appear here?

You should show your site url and point the button so we can give suggestion

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
Just now, alman50 said:

My site isn't live yet but attached is an image of the section I'm referring to. 

Screen Shot 2020-11-16 at 10.29.39 PM.png

These settings is different among site, please set a site wide password so you can turn it off once done

Site-wide passwords – Squarespace Help

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

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.