Jump to content

Custom CSS Button - No Left/Right Side

Recommended Posts

Site URL: https://circle-clavichord-w8aj.squarespace.com/

Site url: circle-clavichord-w8aj.squarespace.com

Password: Libby123

 

I'm trying to make the ctas on the homepage not have a right and left side. Only a top and bottom. I tried this css class but it's not working. Could someone advise?

 

.sqs-block-button-element--medium {
      border-left: none;
    border-right: none;
  border-width: 1px !important;
}

Link to comment
  • Replies 7
  • Views 292
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
  • 2 months later...
On 11/16/2022 at 7:35 AM, StephanieR said:

Sorry for the delay - it's not caps. libby123

Add to Design > Custom CSS

/* Header button */
header#header a.btn {
    border-left: none !important;
    border-right: none !important;
}

 

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
  • 5 weeks later...
On 12/20/2022 at 10:30 PM, StephanieR said:

@tuanphanHi - thank you! This updated the header button but I need the buttons on the homepage - "get in touch" and "see more". I tried sqs-block-button-element--medium but that didn't work. Thank you!

Use this code

body.homepage .button-block a {
    border-left: none !important;
    border-right: none !important;
}

 

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.