Hide Visible Widget for Future Use

If you have a widget on a page or post using Page Builder that you do not want to display but also do not want to delete, you can hide it. To do so, go to the widget's Edit screen and click on Attributes. Then, add the following line of code to the widget's CSS Styles:

display: none;

You cannot do this for widgets in Appearance > Widgets since they do not have an option to enter custom CSS.

css styles box

Related Articles