Debut Theme: Add to Cart button on homepage/collection pages

Solved
tjacobofficial
New Member
2 0 1

Hi there, I'm hoping you can help me with a similar issue. I've followed your instructions to add the cart button, but the buttons are laying right on top of the next row like pictured. Could you help with this? Jacob University Store password: awtsoh

 

Screenshot 2021-06-17 165226.png

KetanKumar
Shopify Partner
23037 2319 8555

@tjacobofficial 

sorry for that issue can you please try this 

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.
this code apply for after 5 - 6 second

.product-card {margin-bottom: 10px;}
.product-card+form {margin-bottom: 30px;}
.product-card+form input {width: 100%;}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
tjacobofficial
New Member
2 0 1

Wonderful, that's perfect! Thank you so much!

0 Likes
Firefly1
Tourist
14 0 1

Hi,

Is there a way to get this button inactive when the product is sold out?

sold.png

Thanks in Advance.

0 Likes
moonrise
Excursionist
12 0 4

Hello @KetanKumar 

I followed your customized code which you give about homepage add to cart button code. It worked very well but on mobile, the button is doesn't look very well. I want to resize add to cart button as a thinner. 

URL: onthologie.com

IMG_4509.jpeg

KetanKumar
Shopify Partner
23037 2319 8555

@moonrise 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
moonrise
Excursionist
12 0 4

@KetanKumar 

On Desktop add to cart buttons are ok but on mobile look big. I want smaller or maybe thinner

https://www.onthologie.com/

KetanKumar
Shopify Partner
23037 2319 8555

@moonrise 

can you please confirm this look

KetanKumar_0-1625902404096.png

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
moonrise
Excursionist
12 0 4

I like the add to cart section like that but is there any way to remove quantity? @KetanKumar 

0 Likes
moonrise
Excursionist
12 0 4

Hi @KetanKumar 

I have been trying to find some solutions but couldn't find any. Would you help me, please?

0 Likes