Zac McDonald

Hide Elementor Widgets on Front-end Only

Use custom CSS to hide sections and widgets on the front-end but leave them visible in the Elementor editor.
You may want to hide sections or widgets from the front-end of your website but still retain the ability to view and edit them in the Elementor editor.

Custom CSS to hide Elementor elements on the front-end

Use this CSS to hide front-end sections or widgets but leave them accessible in the Elementor editor.
				
					body:not(.elementor-editor-active) selector { display:none; }
				
			

Add the CSS to your element

Locate the element you want to hide on the front-end and go to Advanced -> Custom CSS. Input the above CSS there and your element will no longer display on the front-end of your Elementor site.

Video: Hide Elementor Widgets on Front-end Only

Comments: Hide Elementor Widgets on Front-end Only

Leave a Reply

Your email address will not be published. Required fields are marked *

Hide Elementor Widgets on Front-end Only

WordPress Developer

Add an experienced WordPress Developer to your team.