Button underline ease in on hover - Dawn

Solved

Button underline ease in on hover - Dawn

Element1
Explorer
61 0 10

hello, is anyone able to help me add an underline ease in on hover to my "shop now" button text on my image banner?

 

https://51dmzlcv2fxmqh9a-27884224571.shopifypreview.com

Accepted Solution (1)

goldi07
Navigator
381 41 67

This is an accepted solution.

hello @Element1 

Go to online store ----> themes ----> actions ----> edit code ---->assets ----section-image-banner.css...> add the code end of the file

 

 .banner__buttons {
    text-decoration: none;
    position: relative;
    color: #000;
    font-weight: bold;
    padding-bottom: 2px;
}
 
 .banner__buttons::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease-in;
}
 
.banner__buttons:hover:after {
    width: 100%;
}

 

thanks

 

 

Was I helpful?

Buy me a coffee


APPS BY US :

Professional Customer Accounts APP


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here

View solution in original post

Replies 7 (7)

Rahul_dhiman
Shopify Partner
855 168 186

Hello @Element1 
Go to online store ---------> themes --------------> actions ------> edit code------->base.css
at the end of the file and save.

 

a.button.button--primary {
text-decoration: underline 2px;
}

7.png

If this was helpful, hit the like button and accept the solution.
Thanks

 

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

Element1
Explorer
61 0 10

unfortunately, this didn't work for me

Rahul_dhiman
Shopify Partner
855 168 186

Go to online store ---------> themes --------------> actions ------> edit code------->base.css
at the end of the file and save.

.banner__buttons a:hover {
font-weight: bold !important;
text-decoration: underline 2px;
}
Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

steve_michael2
Navigator
454 39 62

Hi @Element1 

Go to online store > themes > click 3 dots > edit code > search base.css then paste this code in the base.css on the bottom of the file

a.button.button--primary:hover {
    text-decoration: underline;
}

goldi07
Navigator
381 41 67

This is an accepted solution.

hello @Element1 

Go to online store ----> themes ----> actions ----> edit code ---->assets ----section-image-banner.css...> add the code end of the file

 

 .banner__buttons {
    text-decoration: none;
    position: relative;
    color: #000;
    font-weight: bold;
    padding-bottom: 2px;
}
 
 .banner__buttons::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease-in;
}
 
.banner__buttons:hover:after {
    width: 100%;
}

 

thanks

 

 

Was I helpful?

Buy me a coffee


APPS BY US :

Professional Customer Accounts APP


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here
Element1
Explorer
61 0 10

this worked! thank you so much

goldi07
Navigator
381 41 67

I am glad that worked 😊

Was I helpful?

Buy me a coffee


APPS BY US :

Professional Customer Accounts APP


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here