Hello,
I am working on a client’s website (Stiletto theme) and need help with CSS to remove the underline on the ‘Text’ Button styles. I have attached a screenshot of the button I am referring to.
Their website is www.arttoart.com.au
Hello,
I am working on a client’s website (Stiletto theme) and need help with CSS to remove the underline on the ‘Text’ Button styles. I have attached a screenshot of the button I am referring to.
Their website is www.arttoart.com.au
Hey @BellesandBells
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi,
Go to online store
Edit Code
Open theme.css file
Paste the following code at the end of the file and save.
.btn.btn–callout span:before {display: none;}
.btn.btn–callout span:after {display: none;}
@BellesandBells oh sorry for facing this issue can you try this code
.btn--overlay.btn--callout::before, .btn--overlay.btn--callout::after {display: none;}
Hello @BellesandBells
If you want to completely remove this underline from all buttons, you can just remove the code from the theme.css file.
Go to Online store → Themes → Edit code, and then open the theme.css file.
Find this piece of code in the file:
/* Full-width underline below the button */
.btn--overlay.btn--callout::before {
content: "";
position: absolute;
bottom: -5px; /* Position the line just below the button */
left: 0;
width: 100%; /* Make the line span the full width of the button */
height: 1px; /* Line thickness */
background-color: white; /* Line color */
}
and just remove it.
I hope this helps.
You can remove it by adding this code to Custom CSS in store admin > Sales channels > Online store > Themes > Customize
html .btn--overlay.btn--callout:before {
height: 0;
}
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Richard | PageFly