Removing empty widget notifications

Is there any easy way to remove the "Please log in and add widgets to this column" message to non-administrators and visitors? I don't want visitors to the site to get distracted with these messages when I've chosen not to put a widget on a particular page.

Thanks!

  • Alexander

    Hi @Cameron,

    The best way to do this would be to start by adding a blank text widget to that sidebar. This would prevent the message from showing.

    Then, you can use CSS to remove the title for that widget, and anything from it that might show:

    #text-3 {
    display:none;}

    You can add css to a theme's stylesheet, in a child theme, or using a plugin like My Custom CSS.

    Now, you'll need to change the ID depending on the widget. So for you, instead of #text-3 you may need something else You can use "inspect element" by right clicking in your browser to see what ID you need. Here's a screenshot of what it looked like in Chrome on my test site:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.