Home>Support>Hide certain widgets when on mobile site

Hide certain widgets when on mobile site

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. 11 years, 2 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. 11 years, 2 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. 11 years, 2 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. 11 years, 2 months ago Trevor Wolfe

    Worked thanks!!!

  5. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad we could help out.

  6. 8 years, 7 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. 8 years, 7 months ago Jeffrey Carandang

    Oops wrong screenshot. Here it is :

    SiteOrigin Pagebuilder Widget Options

  8. 8 years, 7 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