Shopify themes, liquid, logos, and UX
I want add to cart button to always stick at the bottom of the screen in mobile view in the product page
not like this
more like this.
@mTekin Please add the below line of css code at the end of your theme.css file
body product-quick-add.product-quick-add{
opacity: 1;
visibility: visible;
transform: translateY(0);
}
Hi @mTekin,
Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:
.shopify-section--main-product .product-quick-add {
opacity: 1 !important;
visibility: visible !important;
}
Hi @mTekin ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<style>
body product-quick-add.product-quick-add{
opacity: 1 !important;
visibility: visible !important;
transform: translateY(0) !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hello @mTekin
Go to online store ----> themes ----> actions ----> edit code---->theme.css
add this code at the end of the file.
product-quick-add.product-quick-add {
opacity: 1;
visibility: visible;
transform: translateY(0px);
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024