Home › Forums › Support › Hide button from logged-out users This topic has 3 replies, 2 voices, and was last updated 6 months, 3 weeks ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 1, 2022 at 4:49 am #2330387 Heinrich Hi, I found a css class from David,but my code doesn´t work: body:not(.logged-in) { .button.product_type_simple { display: none!important; }} without body:not(.logged-in) { } it works fine. thanks in advance September 1, 2022 at 6:45 am #2330463 DavidStaff Customer Support Hi there, Try this: body:not(.logged-in) .button.product_type_simple { display: none!important; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ September 2, 2022 at 12:18 am #2331130 Heinrich Hi David, that works perfect!! Thanks for you help. September 2, 2022 at 2:23 am #2331242 DavidStaff Customer Support Glad to hear that Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In