Transparent button, with white border smooth transition from left to right when hover

Transparent button, with white border smooth transition from left to right when hover

silenceclothing
Tourist
125 0 16

Hello.

Does anyone know how to do this?

Replies 6 (6)

ZestardTech
Shopify Partner
6041 1080 1448

Hello @silenceclothing,

 

Could you please provide the URL/ password  to your store so that I can check it and provide you with the exact solution?

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
ZestardTech
Shopify Partner
6041 1080 1448

Hello @silenceclothing ,

Can you please clarify which buttons you are referring to?

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
silenceclothing
Tourist
125 0 16

"shopp all" "login" and more

ZestardTech
Shopify Partner
6041 1080 1448

Hello there,
Here are the steps to apply the necessary changes in your Shopify store:

  • In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  • Locate Asset > base.css and paste the following code at the bottom of the file: 

 

body button.button--secondary, 
body .shopify-challenge__button, 
body .customer button {
    background-color: #222943;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease !important;
    transform-origin: unset !important;
    transform: none !important;
}

body button.button--secondary::before, 
body .shopify-challenge__button::before, 
body .customer button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 1;
}

body button.button--secondary:hover, 
body .shopify-challenge__button:hover, 
body .customer button:hover {
    color: black;
    border-color: black;
    background-color: white;
}

body button.button--secondary:hover::before, 
body .shopify-challenge__button:hover::before, 
body .customer button:hover::before {
    left: 0;
}

body button.button--secondary span, 
body .shopify-challenge__button span, 
body .customer button span {
    position: relative;
    z-index: 2;
    background: transparent !important;!i;!;
}

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
silenceclothing
Tourist
125 0 16

nothing happend?