AddToCart bigger and delete a line

Topic summary

A user seeks to modify their Shopify product page by:

Requested Changes:

  • Enlarge the “Add to Cart” button
  • Increase the button’s font size
  • Remove the “Availability: In Stock” line

Two community members provided CSS solutions to be added to the theme.liquid file before the </body> tag. However, the implementation only partially succeeded:

Current Status:

  • ✓ The availability line was successfully removed
  • ✗ The Add to Cart button size remains unchanged
  • ✗ Font size adjustment not yet working

The user shared screenshots showing the button still appears in its original size despite applying the suggested code. The issue remains unresolved, with the button width and text styling requiring further CSS adjustments.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

I quickview of “pairs well with”:

Please, I want AddToCart bigger and delete the line containing “Availability : In Stock”

Website URL: happyoff.com

2 Likes

Hey @Optimist1

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hello @Optimist1

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

.t4s-product-form__variants.is-btn-full-width__false .t4s-product-form__submit { width: 100% !important; min-width: unset !important; max-width: 100% !important; } .t4s-available-wrapper { display: none !important; }

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

1 Like

The Line is removed but the AddToCart Button is still in the same size - and do not forget the font size of the “Add to cart” Text, Here you are the screen:

The Line is removed but the AddToCart Button is still in the same size - and do not forget the font size of the “Add to cart” Text, Here you are the screen: