A user wants to add slightly curved corners (border-radius) to all button labels on their Shopify store (Dawn theme). They provided screenshots showing the current sharp-cornered buttons and the desired rounded appearance.
Initial Solutions:
Two responders suggested adding CSS code targeting .button class with border-radius: 5px !important; to the theme’s CSS file (base.css/theme.css).
One solution involved adding code to theme.liquid file above the </body> tag.
Issue:
The user reported that initial solutions only worked for specific buttons and didn’t apply universally across the site or on desktop.
Most comprehensive solution targets: .button:after, .shopify-challenge__button:after, .customer button:after, .shopify-payment-button__button--unbranded:after
The final solution includes screenshots demonstrating successful application across different button types. Status: Multiple working solutions provided, awaiting user confirmation of which resolved the issue completely.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
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: