Shopify themes, liquid, logos, and UX
Hi community,
I would like to visualize a border around the add-to-cart button of the hero collection on hover.
Add-to-cart buttons of both Product page (PDP) and all products page (PHP) have this behaviour and I dont know how to replicate it to the main collection.
My website is www.womanly.se
Thanks a lot.
Solved! Go to the solution
This is an accepted solution.
Hello @MaBa
It's GemPages support team and glad to support you today.
I would like to give you a solution to support you:
1. Go to Online Store -> Theme -> Edit code:
2. Open your theme.liquid theme file
3. Paste the below code before </body>:
<style>
ul.product-grid .quick-add__submit:hover::after{
--border-offset: 1.3px;
box-shadow: #f37fb9 0px 0px 0px 2.3px, red 0px 0px 0px 2px
!important;
}
</style>
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
This is an accepted solution.
Hello @MaBa
It's GemPages support team and glad to support you today.
I would like to give you a solution to support you:
1. Go to Online Store -> Theme -> Edit code:
2. Open your theme.liquid theme file
3. Paste the below code before </body>:
<style>
ul.product-grid .quick-add__submit:hover::after{
--border-offset: 1.3px;
box-shadow: #f37fb9 0px 0px 0px 2.3px, red 0px 0px 0px 2px
!important;
}
</style>
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024