I want to remove hover effect in the sold out button

swayurindia
Excursionist
113 0 7

I want to remove the hover effect in the sold-out button.

 

In the below screenshot I have hovered on the Sold Out button in the existing border is getting removed. I don't want any changes to be made in it

Screenshot (40).png

Replies 10 (10)
topnewyork
Explorer
153 22 19

@swayurindia 

Would you mind to share your store URL website, with password if its protected? Thanks!

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel
swayurindia
Excursionist
113 0 7

www.swayur.com

There is no password

topnewyork
Explorer
153 22 19

@swayurindia 

Follow these Steps:
Go to Online Store Edit Code Find theme.liquid file or base.css
Add the following code in the bottom of the file above </body> tag

 

.underlined-link:hover, .customer a:hover {
    color: none;
    text-decoration: none;
}

 

topnewyork_1-1696574728664.png

 

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

 

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel
swayurindia
Excursionist
113 0 7

Nothing  has changed

topnewyork
Explorer
153 22 19

@swayurindia On hover underline disapears and font weight remain same as original.. what you want on hover?tell me i will do that

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel
swayurindia
Excursionist
113 0 7

I want to remove the hover effect in SOLD OUT button please read the problem carefully. Whenever customers hover on it the border should not disappear infact it should remain just like that.

topnewyork
Explorer
153 22 19

@swayurindia 

Follow these Steps:
Go to Online Store Edit Code Find theme.liquid file or base.css
Add the following code in the bottom of the file above </body> tag

button.quick-add__submit[disabled]:hover {
    border: inherit;
}

topnewyork_0-1696575674358.png

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

 

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel
Dan-From-Ryviu
Shopify Partner
5570 1021 1053

Hi @swayurindia 

Please add this code 

.quick-add button.quick-add__submit:hover::after { border: 1px solid #e8e8e8 !important; }

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

swayurindia
Excursionist
113 0 7

It is working

 

But another issue over here is that there is another border appearing when hovering on In-Stock product's Add to Cart button:

 

Screenshot (45).png

 

Check out this sample website link: https://www.jiomart.com/c/groceries/2 in this whenever we hover on add to cart button then over there, another blue colored border is appeared (the existing border is getting replaced by dark blue color)

Dan-From-Ryviu
Shopify Partner
5570 1021 1053

Please try to use this code instead of 

.quick-add button.quick-add__submit:after { border: 1px solid #e8e8e8 !important; }

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now