How to Hide a WP Element in CSS for Logged-in Users Only

Last Updated on February 27, 2020 by BrodNeil

You can use .logged-in together with an element or class or ID to hide it from logged-in users.

An example would be something like this:

/* Hide WooCommerce customer_details for logged-in users * /
.logged-in #customer_details {display: none;} 

Leave a Comment