Add to cart button size in Debut theme

Solved
darrenmillar
Tourist
4 0 4

Hi all

I'm stuck, the Add to Cart button shows correctly on all products with variants.

When no variant is present the button is smaller and throws the design off center.

width is set to 100% in the liquid.

Any ideas?

www.eribastuff.com

Screenshot 2021-07-26 23.26.10.pngScreenshot 2021-07-26 23.26.30.png

0 Likes
Nick_Marketing
Shopify Partner
574 136 162

This is an accepted solution.

Go to theme.css and add this snippet to the bottom.

 

.product-form__item--no-variants{
  max-width: inherit;
}

 

- I am an eCommerce and Marketing Technology consultant based in Toronto, CANADA.
- To inquire about consulting work availability, please send me a Private Message.
- For Shopify Tutorials, Subscribe to my YouTube Channel.
0 Likes
darrenmillar
Tourist
4 0 4

You're a wizard Nick!

Thank you.

Nick_Marketing
Shopify Partner
574 136 162

@darrenmillar
I am glad the issue is resolved!

- I am an eCommerce and Marketing Technology consultant based in Toronto, CANADA.
- To inquire about consulting work availability, please send me a Private Message.
- For Shopify Tutorials, Subscribe to my YouTube Channel.