Hide Weight on Single Product Page
-
wrote on Sep 22, 2022, 10:49 AM last edited by pascal Sep 22, 2022, 7:13 AM
Hello dear developers,
I would like to hide the size and weight information on the woocommerce single product pages with css.Can you help me help me further?
Best regards
Pascal -
can u post a link
-
wrote on Sep 24, 2022, 9:22 AM last edited by
-
in chrome right click on it, click "inspect element", get the html class like the selector and then do
.selector{
display: none;
}in your custom css
if u send me a link i can find the selector for you
i will also write this down to create a setting in lay theme for this
-
wrote on Oct 23, 2022, 7:00 PM last edited by
It works, thanks a lot!
Pascal -
maybe ur selector is good, but maybe you need to do:
display: none!important;
instead of only
display: none;
-
wrote on Mar 20, 2024, 4:53 AM last edited by
I am also running into this issue on my site. Could you add screenshots of that you need to select after you click inspect element? https://hayesmade.com/product/puddleknob/
-
try this:
.woocommerce-product-attributes{ display: none!important; }
-
try this:
.woocommerce-product-attributes{ display: none!important; }
wrote on Mar 22, 2024, 4:52 AM last edited by@arminunruh Thank you!
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