To hide an element on logged out members:
Content for anyone that is logged in, regardless of their Membership Level.
To hide an element on logged in members:
Some public content. They're NOT logged in.
A leading !exclamation means false.
Hiding elements based on membership level:
Content for members who are logged in with an optimizeMember Level >= 1.
Membership levels provide incremental access so members having higher levels can also see the element.
Hiding elements based on package/custom capabilities:
Content for members who are logged in with a required membership level and package.
See below screenshots on how to add these shortcode into your element:
Click the cog icon of the element to launch the Advance Elements Options
Add the shortcode start tag on code before row field and the shortcode end tag on the code after row field
Here is how the element having the code should look like in the LiveEditor