Remove border on outline button style - Dawn

4 0 1

Screenshot 2024-01-31 at 14.02.05.png 


I'd like to remove the outline of the buttons so just the text is left...

My store link:

(complete noob)

Cheers for your help

Replies 5 (5)

Shopify Partner
1423 268 282

Hello @heinjurgens 

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 </body> on theme.liquid

.button::before {
     box-shadow: unset !important;
.button::after {
   box-shadow: unset !important;
     box-shadow: unset !important;



Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID-

221 9 30

first change the outline button style into view all and then add some css something like


    text-decoration: none;

983 281 225

Hi @heinjurgens 

This is Henry from PageFly - Landing Page Builder App


You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

.banner__buttons.banner__buttons--multiple .button--secondary:after {

    box-shadow: unset !important;



Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!

PageFly - #1 Page Builder for Shopify merchants.

All features are available from Free plan. Live Chat Support is available 24/7.

Shopify Partner
328 98 111

Add this code in your base.css file:

a.button.button--secondary:after {
  border: none !important;
  box-shadow: none !important;



Any donation is welcome! Thanks in advance!

Shopify Partner
5515 1327 1635

Hi @heinjurgens 

Do you like to remove the border also the border when hover? 

If it check this on.e


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:


.button:before, .button:after, .button:not([disabled]):hover::after {
    box-shadow: none !important;


And save. 






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

Please don't forget to 



Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at