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)

techlyser_web
Shopify Partner
1507 279 300

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

 

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

AryavK
Trailblazer
221 9 30

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

 

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

PageFly-Henry
Astronaut
1081 311 263

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
360 104 124

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
6037 1450 1788

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!

Please don't forget to 

Like

 and 

Mark Solution 

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

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com