• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Disable widgets in mobile theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Disable widgets in mobile theme

This topic is: not resolved

Tagged: disble widget in mobile theme

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by James.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 9, 2015 at 1:47 am #155515
    Jinka Varalakshmi
    Member

    Hello, I am using metro pro theme. At present I am using wp touch mobile for mobile theme. I don't want to use extra plugin for mobile theme. Because metro pro is responsive theme.
    I don't want to display widgets in mobile. I think it is possible with media query. Can any one tell me how to disable widgets in mobile theme.
    I want to disable header widget and sidebar widgets.
    If it is possible tell me how to disable quick adsense plugin in mobile theme without using wp touch plugin.


    My hobby is to learn about new technologies and writing technical tips in my blog whatvwant.com
    Google+ | Facebook | Twitter

    http://www.whatvwant.com
    June 9, 2015 at 2:56 am #155539
    James
    Participant

    hi there

    you could simply use display: none in media queries

    .header-widget-area,
    .sidebar {
      display: none
    }
    June 9, 2015 at 4:54 am #155555
    Jinka Varalakshmi
    Member

    I have placed it, but it is not working. See below how I have placed. Let me know An I doing wrong. I have tried without ';' also.


    @media
    only screen and (max-width: 767px) {

    .pw-layout-horizontal { display: none; }
    .header-widget-area,
    .sidebar {
    display: none;
    }

    body {
    font-size: 14px;
    }

    .footer-widgets,
    .site-container {
    width: 94%;
    }


    My hobby is to learn about new technologies and writing technical tips in my blog whatvwant.com
    Google+ | Facebook | Twitter

    June 9, 2015 at 5:00 am #155556
    James
    Participant

    hi there

    let me know when you have added it in, so i can take a look on my end.

    likely the css just needs a little more priority to override the main styles.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble