How can I show an element in the CMS but change the display to "none" on the published site?

I want to make an element’s default display state be “none,” but I want it to still be visible in the CMS in case my client wants to make changes to it. Is there a way to do this? TIA :pray:

1 Like

Hi! If your element is “Editable for customer” and you change the visibility to “none”, the element is still visible in the CMS and the client can edit the content, but he can’t change the visibility itself.

3 Likes

Could not have said it better @Lucian_Dinu :heart:

But won’t this change the item’s CSS visibility property, instead of the display property? @Andre

Hi! This Visibility property from the UI will use the CSS display property and it will set this to display: none;

2 Likes

Ah okay, great! Thank you so much for your help.

2 Likes