Hello
I would like to be able to hide a block/row from logged in users only.
I have tried css using many variations of the below
——————————————
#panel-gb130-5d2cbb5c140e9-1-0-0 > .panel-widget-style, #panel-gb130-5d2cbb5c140e9-2-0-0 > .panel-widget-style { display: none; }
—————————————–
.logged-in, #panel-gb130-5d2cbb5c140e9-1-0-0 > .panel-widget-style, #panel-gb130-5d2cbb5c140e9-2-0-0 > .panel-widget-style { display: none; }
—————————————-
but nothing seems to work.
I have tried placing the css in the css panel that appears on the right of the row options and also tried placing it in the custom css section of wp admin. again nothing works.
Can anyone help with solving this please.
Hi Phil
Thanks for posting your question.
Our free support scope is, unfortunately, limited to basic usage and troubleshooting. This is necessary to remain viable, our resources are limited. We can assist with Custom CSS within our SiteOrigin Premium support scope.
The second rule you posted in your question is close, it should be inserted at AppearanceCustom CSS if you’re using SiteOrigin CSS or at CustomizeAdditional CSS. There shouldn’t be a comma after the logged in class.
https://css-tricks.com/forums/topic/hide-element-if-wordpress-user-logged-in/
It’s OK I got it to work correctly without issues..
Cheers
Glad to hear you were able to find a solution.
All the best.