Jump to content

How to change the pill button outline color

Recommended Posts

Site URL: https://lynx-ukulele-swwd.squarespace.com/

Hi, I'm trying to change the border color of the pill button to a gradient color:

576014848_ScreenShot2022-03-14at6_54_31PM.png.ad80875a09bc57ba252909d6e1851b73.png

 

This is the code that's not working for me (only the border width does)

.primary-button-style-outline .sqs-button-element--primary {
    border-width: 3px !important;
    border-color: linear-gradient(to top, #CC0066, #FEA844) !important;
}

Site URL: https://lynx-ukulele-swwd.squarespace.com/

pw: bwddogs

 

Thanks!

Link to comment
  • Replies 4
  • Views 2.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 1 year later...
1 hour ago, hostyle01 said:

I also want to make a gradient outline button, but with no solid fill on normal, only on active

I'm not seeing a sign up button on that page. Is the button on a different page? What is the URL?

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.