Change button and border color

Solved

Change button and border color

silenceclothing
Explorer
132 0 17

Hello. 

I want to make my buttons transparent with a white border around. Does someone know how?

store url: https://ivo5yrwjs1s7i1qf-65389560005.shopifypreview.com

Skjermbilde 2025-02-03 kl. 23.59.35.png

Skjermbilde 2025-02-03 kl. 23.59.44.png

  

Accepted Solution (1)

PageFly-Richard
Shopify Partner
5011 1120 1803

This is an accepted solution.

Hi @silenceclothing 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> 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 </head>

 

<style>
.banner__buttons a {
    cursor: unset !important;
    opacity: 1 !important;
    background: transparent;
    border: 1px solid #fff;
}
</style>

PageFlyRichard_0-1738720814408.png

 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)

Bundler-Manuel
Astronaut
1012 51 118

Hello there @silenceclothing  to make the buttons in your store transparent, you would find the codes in this thread very useful https://community.shopify.com/c/shopify-design/how-can-i-create-transparent-buttons-on-my-home-page/... 

As for the white border, you can check the reply marked as a solution here https://community.shopify.com/c/shopify-discussions/how-to-add-margin-or-white-border-to-sliders-in-... 

Let me know if you’re able to solve your issues with this!

Emmanuel
Please let me know if it works by marking it as a solution!
Bundler - Product Bundles app, a great bundle app for Shopify, with glowing user testimonials and a free plan.
silenceclothing
Explorer
132 0 17

did not work

PageFly-Richard
Shopify Partner
5011 1120 1803

This is an accepted solution.

Hi @silenceclothing 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> 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 </head>

 

<style>
.banner__buttons a {
    cursor: unset !important;
    opacity: 1 !important;
    background: transparent;
    border: 1px solid #fff;
}
</style>

PageFlyRichard_0-1738720814408.png

 

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

silenceclothing
Explorer
132 0 17

thanks, it worked ! but the text inside of button on the other picture is still black, how can i make the text white and how can i remove the hover effect that makes the button border turn black on hover?

silenceclothing_1-1738755020061.png

 

 

silenceclothing_0-1738754985227.png