Increase the border width or background box size of the "Add to cart" on complementary products

Topic summary

A user needed help increasing the border width or background box size of the “Add to cart” button on complementary products in their Shopify store.

Solution Provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add the following CSS code at the bottom:
.complementary-products__container .quick-add__submit {
  padding: 1rem 1.5rem !important;
}

Outcome:
The CSS modification successfully resolved the issue. The user confirmed the solution worked and expressed gratitude.

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

Hello, good morning!

How can I increase the width or size of this background or the box size?

website: dronehub.ph

password: iatsau

Please assist.

Thank you!

1 Like

Hi @Mabinibooks

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.complementary-products__container .quick-add__submit {
    padding: 1rem 1.5rem !important;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

It worked, thank you so much!

Have a great week!

1 Like