Impact theme Add to Cart Button

Impact theme Add to Cart Button

mTekin
Shopify Partner
1 0 0

I want add to cart button to always stick at the bottom of the screen in mobile view in the product page

Here's the link

mTekin_0-1726431081567.png

not like this 

mTekin_1-1726431109139.png

more like this.

Replies 4 (4)

webwondersco
Shopify Partner
1200 171 174

@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);
}

  

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram

namphan
Shopify Partner
2690 349 399

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;
}

 

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

websensepro
Shopify Partner
1903 229 270

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!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

Rahul_dhiman
Shopify Partner
821 155 173

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
12.png

If this was helpful, hit the like button and accept the solution.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages