Jump to content

Change product page variant button on click

Recommended Posts

  • Replies 2
  • Views 345
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 6/19/2023 at 11:16 AM, Maximus said:

does anyone know how to make the variant button (size etc) change when clicked on a product page?

Squarespace added these new Variant Radio Buttons in May, but sadly, they haven't added a new style option for them yet, so they inherit the styles you've set in the Site Styles panel for Secondary Buttons. You can customise these buttons using these styles but bear in mind it will affect any other secondary buttons on the site. I recommend that you try some alternative settings to see if you can achieve what you need.

image.gif.04fe02ca6a2e3bf6d37bacbaa427b9bb.gif

If you do not want to change the Secondary Button style - perhaps you are using secondary buttons elsewhere on the site and you do not want to change their style - then you will need some Custom CSS to modify the variant buttons. The CSS will be dependent on the existing styles you've set, so we'll need to browse your product page to offer specific advice. 

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.