Jump to content

Adding related products in the store

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hey guys, 

I have been trying to change the shape of the animation when you hover over a button for the related products in my store. Is there any way to change the shape?

Image related: It should be a circle, not a square. Screenshot2024-02-28at12_55_26.thumb.png.e14179f960e11560b732a43adde796e8.pngScreenshot2024-02-28at12_55_32.thumb.png.49c32585090bebc67c4df16e4f95d475.png

  • Solution
Posted
On 3/3/2024 at 9:58 PM, Efestoone said:

Here you go: https://www.efesto.one/shop/p/elephanti
Thank you very much!

Try this code to Website > Website Tools > Custom CSS

div.sqs-add-to-cart-button:hover, div.sqs-add-to-cart-button:before {
    border-radius: 50% !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!)

  • 1 month later...
Posted
On 4/12/2024 at 12:03 AM, Efestoone said:

Hey, with this command I have run into a new issue. Maybe anyone could help me, please. 

The hover animation for the "+" is perfect now but the command had an impact on the "add to shopping cart" button hover animation (See attached image). Is there a way to separate them? 

Here the website: https://www.efesto.one/shop/p/colubris-t-shirt

 

Thank you in advance!

Screenshot 2024-04-11 at 19.00.09.png

Screenshot 2024-04-11 at 19.00.02.png

Remove code I sent & use this new code

section[class*="add-ons"] div.sqs-add-to-cart-button:hover, section[class*="add-ons"] div.sqs-add-to-cart-button:before {
    border-radius: 50% !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!)

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.