Jump to content

Customize Specific Buttons

Recommended Posts

Site URL: https://www.uurth.co/

I am trying to make the button on the product screen a solid black color, while keeping the buttons everywhere else on the website as they are, as a white outline.

All product window buttons = solid black

All other website buttons = white outline

As far as I can tell, in the Site Styles window, you can only set one button style which applies to the entire website. Is there any customizations or code injections you could recommend to address this change? My website is www.uurth.co. 

Thank you for any recommendations in advance.

Button1.jpg

Button2.jpg

Link to comment
  • Replies 3
  • Views 315
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

@tuanphan Thank you for your reply. 

Here are the links to the screenshotted images above:

Home page buttons that I would like to keep as outlines: https://www.uurth.co/

Product page that I would like to make the "Add To Cart" button solid: https://www.uurth.co/mens/p/kvernufoss-tee

Keep in mind, I would like to make the Add To Cart button solid on every single product page on the website, but not on the homepage. 

Link to comment
On 6/7/2022 at 5:20 AM, UURTH said:

@tuanphan Thank you for your reply. 

Here are the links to the screenshotted images above:

Home page buttons that I would like to keep as outlines: https://www.uurth.co/

Product page that I would like to make the "Add To Cart" button solid: https://www.uurth.co/mens/p/kvernufoss-tee

Keep in mind, I would like to make the Add To Cart button solid on every single product page on the website, but not on the homepage. 

Add to Design > Custom CSS

body:not(.homepage) div.sqs-add-to-cart-button {
    background-color: black !important;
}
body:not(.homepage) div.sqs-add-to-cart-button div {
    color: white !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.