Make Button smaller

Topic summary

A user seeks to reduce the size of an “ENTER” button on their Shopify store’s homepage or password page.

Solution Provided:

A community member offered CSS code to resize the button:

  1. Navigate to Shopify admin → Online Store → Themes
  2. Click Actions → Edit code on the active theme
  3. Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
  4. Add custom CSS targeting the specific button element with min-width: fit-content and min-height: 3rem properties marked as !important
  5. Save changes

The solution includes a screenshot showing the expected result. The issue appears resolved, with the helper requesting the original poster mark the response as the solution.

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

Hi, i wonder if theres a way to make the “ENTER” Button on my Website smaller?

URL: sixdreamz.com

1 Like

Hi @sixdreamz

Its password procted. This enter is on the homepage or password page?

i removed the password. you should be able to enter now

1 Like

Thanks for the info, check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

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:

div#Banner-template--22780388671829__ba3a9a37-cead-4357-8c2d-62907f095f7e a.button.button--primary {
    min-width: fit-content !important;
    min-height: 3rem !important;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!