DEV Community

Discussion on: 5 things you can do with CSS instead of JavaScript

Collapse
 
janhos profile image
Janhos

Hi,
i like to hide any element by using user role.... this following part of code hide this element for all users. But i need to hide it only for user role "subscriber" in Wordpress

[id="booking_form_request"] {display: none!important; }