How to remove button border colour when reducing corner radius?

How to remove button border colour when reducing corner radius?

KevinTa
Visitor
3 0 0

When increasing the corner radius of my buttons, the 'empty' space around the button is blue. This only occurs in my banner photo and nowhere else on the website. 

 

Thanks in advance for the help. 

 

e.g. blue space around the pill

KevinTa_0-1722936018544.png

 

e.g. no blue space around pill on other parts of website

KevinTa_1-1722936027538.png

 

 

Replies 4 (4)

Moeed
Shopify Partner
4932 1302 1577

Hey @KevinTa 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
KevinTa
Visitor
3 0 0
Moeed
Shopify Partner
4932 1302 1577

Hey @KevinTa 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.banner__buttons {
    background: transparent !important;
}
</style>

RESULT:

Moeed_0-1722936685503.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
KevinTa
Visitor
3 0 0

Hi Moeed, thank you for the solution. Would you know how to achieve the same solution using shopify's admin UI? Thanks