Home › Forums › WoodMart support forum › How to hide “Select Option- Cart” Button from Mobile & Desktop
How to hide “Select Option- Cart” Button from Mobile & Desktop
- This topic has 5 replies, 2 voices, and was last updated 2 years ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
February 2, 2023 at 12:22 am #439707
nbarajibParticipantHow to hide Select Option- Cart button from Mobile & Desktop an any others .
1. Mobile – https://prnt.sc/CCJw3CbtbftB
2. Desktop – https://prnt.sc/98ifNO8iHZv4
Regards!
February 2, 2023 at 2:45 pm #439893
Aizaz Imtiaz AwanKeymasterHello,
Although it was directly not possible because this hover effect is by default under the Theme for the Products, so we applied the following detailed Custom CSS to hide that Cart Icon hovers on your Site for the Products:
// Hide Add to Cart button on Hover - For Desktop | STARTS // .wd-add-btn-replace .add-to-cart-loop:hover:before { visibility: hidden !important; display: none !important; } .wd-add-btn-replace .add-to-cart-loop:after { visibility: hidden !important; display: none !important; } .wd-add-btn-replace .add-to-cart-loop span { transition: none !important; } .wd-add-btn-replace .add-to-cart-loop:before { display: none !important; transition: none !important; transform: none !important; } .wd-add-btn-replace .add-to-cart-loop:after { display: none !important; transition: none !important; transform: none !important; } .wd-add-btn-replace .add-to-cart-loop:hover span { transform: none !important; transition: none !important; }
// Hide Add to Cart button on Hover – For Desktop | END //
For the Desktop CSS, location to find Custom CSS, go to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section >> there you can find the CSS pasted.
And then eventually for the Mobile view, the Add to Cart button for the Archive and Homepage Products needs to be hidden because the Select Option & Add to Cart text wouldn’t appear in that small box, so for that we have applied the following Custom CSS on your Site:
// Hide the Add to Cart button for Mobile view — STARTS //
.wd-hover-quick .wd-add-btn .add-to-cart-loop { display: none !important; }
// Hide the Add to Cart button for Mobile view — ENDS //
For the Mobile CSS, location to find Custom CSS, go to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for mobile section >> there you can find the CSS pasted.
Please check back your Site after completely clearing the browser and server cache.
If you are using any Cache plugin on your Site then first purge all caches in it and then view your Site to get the correct Site view.
Best Regards.
February 2, 2023 at 3:11 pm #439902
nbarajibParticipantSir, Unfortunately it’s not worked sir…. eventually cart button of mobile view has been something wrong
Please helpMobile- https://prnt.sc/_gaFmV3eXAi0
Desktop- https://prnt.sc/mdL6Sb7T3ipv
February 2, 2023 at 3:48 pm #439914
nbarajibParticipantSir, Unfortunately it’s not worked sir…. eventually cart button of mobile view has been something wrong
Please helpMobile- https://prnt.sc/_gaFmV3eXAi0
Desktop- https://prnt.sc/mdL6Sb7T3ipv
Sir, we want to to hide “Select Option- Cart” Button from Mobile, Desktop, Tab any types of device sir!
We’re looking forward to your help!
February 2, 2023 at 11:13 pm #440031
nbarajibParticipantSir no need to hide cart option thank you so so much for your help!
February 3, 2023 at 9:02 am #440121
Aizaz Imtiaz AwanKeymasterMost Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘How to hide “Select Option- Cart” Button from Mobile & Desktop’ is closed to new replies.
- You must be logged in to create new topics. Login / Register