Home>Support>Hide certain widgets when on mobile site

Hide certain widgets when on mobile site

Is there any way to hide widgets for the mobile site?

I’m trying to hide the text widget for my social media links in the header on the mobile site.

http://www.technowolf.com/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Trevor. Please take a quick look at the Custom CSS I posted here: https://siteorigin.com/thread/how-to-hide-certain-widgets-on-mobile-devices/. Just swap out .widget_recent_entries used in the example for #header-sidebar which is the ID of the header sidebar.

  2. 10 years, 4 months ago Trevor Wolfe

    @media screen and (max-width: 960px) {
    .widget_text { display: none; }
    }

    Tried that with this code above to remove the text widget in the header that contains my social media links. Doesn’t seem to be working.

    technowolf.com

  3. 10 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    There are competing media queries from Vantage there. Try this:

    @media screen and (max-width: 960px) {
    .widget_text { display: none !important; }
    }
  4. 10 years, 4 months ago Trevor Wolfe

    Worked thanks!!!

  5. 10 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad we could help out.

  6. 7 years, 10 months ago Jeffrey Carandang

    Hi,

    If anyone is still looking for perfect solution for hiding several widgets on mobile. Feel free to check Widget Options Plugin : https://wordpress.org/plugins/widget-options , which is now fully compatible with SiteOrigin Pagebuilder! Check the screenshot below on how easy it is to hide widget on certain devices. I hope this helps!

    Cheers,
    Jeffrey

    Hide SiteOrigin Pagebuilder on Mobile

  7. 7 years, 10 months ago Jeffrey Carandang

    Oops wrong screenshot. Here it is :

    SiteOrigin Pagebuilder Widget Options

  8. 7 years, 10 months ago Elisa Hylton-Potts

    Nice thanks!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More