Re: Remove border on outline button style - Dawn

Remove border on outline button style - Dawn

heinjurgens
Tourist
4 0 1

Screenshot 2024-01-31 at 14.02.05.png 

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

Replies 5 (5)

niraj_patel
Shopify Partner
2391 516 515

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

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

techlyser_web_0-1706708099116.png

 

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- info@techlyser.com

AryavK
Trailblazer
266 9 43

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

 

h4{
    text-decoration: none;
}
faith&you

PageFly-Henry
Shopify Partner
1184 335 297

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.

Spac-es
Shopify Partner
406 119 154

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

Any donation is welcome! https://www.buymeacoffee.com/spacescoffee Thanks in advance!

Made4uo-Ribe
Shopify Partner
10038 2387 3014

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:

Made4uoRibe_0-1706712976910.png

 

 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.