• 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

Specific sidebar widget appear only when on a mobile device?

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 › Specific sidebar widget appear only when on a mobile device?

This topic is: not resolved

Tagged: design, mobile responsive, Sidebar, widget

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 12 months ago by 3200 Creative.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 28, 2013 at 7:06 am #48199
    CreativeKristi
    Member

    Is there a way to have a specific sidebar widget only appear if the reader is using a mobile device?


    I work at Creative Kristi Designs
    I play at Creative Kristi
    Affordable. Beautiful. Personal. Custom. Design for everyone.

    June 28, 2013 at 7:30 am #48205
    3200 Creative
    Member

    Hi Kristi,

    There's two ways to accomplish this. The least complicated way to handle this is through your CSS file. You hide the widget on normal devices and show it when responsive design kicks in:

    /*In your standard CSS section add this*/
    /*replace .widget-name with the actual class of your widget*/

    .widget-name {
    display:none;
    }

    /*In the responsive design section of your website add this */

    .widget-name {
    display:block;
    }

    That should do it! I'm sure someone here has the function.php solution as well for you.


    3200 Creative – Genesis design and development specialists | 3200 Goodies – Design and development blog

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

© 2025 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