Remove border on outline button style - Dawn

Hi,

I’d like to remove the outline of the buttons so just the text is left…

My store link: https://d6c40e.myshopify.com/

(complete noob)

Cheers for your help

1 Like

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

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

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

h4{
    text-decoration: none;
}

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

Add this code in your base.css file:

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

Result:

Spaces_0-1706709121708.png

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.

Result:

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