Hide button on out of stock product
-
wrote on Jun 7, 2024, 7:45 AM last edited by Blurred00 Jun 7, 2024, 3:46 AM
-
wrote on Jun 9, 2024, 8:43 PM last edited by
Try using: display: none !important; on the css selector.
-
Try using: display: none !important; on the css selector.
wrote on Jun 10, 2024, 9:03 AM last edited by Blurred00 Jun 10, 2024, 5:22 AM@alasdair17 said in Hide button on out of stock product:
display: none !important;
thanks for the reply. what is the class that i need to use? i can't found it
Edit. Solved.
here the css code:
.outofstock .button
{
display: none !important;
}
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com