We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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
Explorer
132 0 17

Hello.

Does anyone know how to do this?

Replies 6 (6)

ZestardTech
Shopify Partner
6161 1100 1479

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
6161 1100 1479

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
Explorer
132 0 17

"shopp all" "login" and more

ZestardTech
Shopify Partner
6161 1100 1479

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
Explorer
132 0 17

nothing happend?