Shopify themes, liquid, logos, and UX
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
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>
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
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.
Add this code in your base.css file:
a.button.button--secondary:after {
border: none !important;
box-shadow: none !important;
}
Result:
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!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025