Home>Support>How to hide a Row on a page from logged in users?

How to hide a Row on a page from logged in users?

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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/

  2. 5 years, 2 months ago Phil1ooo

    It’s OK I got it to work correctly without issues..

    Cheers

  3. 5 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Glad to hear you were able to find a solution.

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More