• 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

How move sidebar-widget to top of content in mobile version?

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 › General Discussion › How move sidebar-widget to top of content in mobile version?

This topic is: resolved
  • This topic has 13 replies, 3 voices, and was last updated 7 years, 10 months ago by Dan-cer.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • September 4, 2017 at 7:31 am #211083
    Dan-cer
    Member

    I want to use my homepage as a landing page. In desktop version the ebook-offer is visible on the right sidebar on the top.
    In mobile version not. It is below the main content.

    How is it possible to move a certain sidebar-widget to the top-area of main content only in smaller resolutions (mobile, tablet)?

    Thank you in advance for your answer!

    kind regards,
    Dan-cer

    https://www.rainerklar.de
    September 4, 2017 at 8:16 am #211085
    Erika
    Participant

    Hi Dan-cer,

    What you could do is a use a plugin called Widget Options: https://wordpress.org/plugins/widget-options/

    You can make any widget on the page appear and disappear depending on what screen size is viewing it. In your case, you'll want to place the widget you want seen on mobile above the main content of your site in desktop view, then simply set it to appear only on mobile devices. Same goes for the widget in your sidebar, except reversed.

    September 4, 2017 at 8:17 am #211086
    Erika
    Participant

    This will only work of course if you have a self-hosted WordPress.org site. I visited your site but I couldn't tell.

    September 4, 2017 at 9:40 am #211091
    Dan-cer
    Member

    Hi Erika,

    my site is self-hosted.
    I installed the plugin, and it works. Great! But at the moment I can't use it because the template is not working for this.
    As it is a static homepage, I'm using the standard template that is not providing a top widget area.
    By the way: I'm using a Genesis child theme.
    For my blog-page I have a modified template with several widget areas above content. On this page I checked the new plugin, and it's working fine!

    In the past I tried to get a code for my homepage too, to have a widget area above content, but without blogpost-loop.

    Have you - are anybody else here - a new idea how to get this?

    kind regards,
    Dan-cer

    September 4, 2017 at 10:25 am #211092
    Brad Dalton
    Participant

    I spent several hours working out this solution.


    Tutorials for StudioPress Themes.

    September 4, 2017 at 10:34 am #211093
    Dan-cer
    Member

    Hi Brad,
    I got already the solution mentioned above to display widget areas above content. And I'm very happy with it.
    Before I register to your new solution I want to ask you whether this solution is working for each template.
    I don't find the php-file for the standard-template of my child theme. So I can't modify it.

    kind regards,
    Dan-cer

    September 4, 2017 at 10:39 am #211094
    Brad Dalton
    Participant

    Works for the entire site unless you target specific body classes for specific templates.


    Tutorials for StudioPress Themes.

    September 4, 2017 at 10:45 am #211095
    Dan-cer
    Member

    As I have already a lot of plugins I'm interested i a solution without using another plugin.
    But - to make it more clear - at the moment I want to move just my ebook-widget (for getting leads) above content at mobiles and tablets. Not the other widgets I have on the primary sidebar.

    Will that work easily, too?

    kind regards,
    Dan-cer

    September 4, 2017 at 10:49 am #211096
    Brad Dalton
    Participant

    No. I Would need to work out a different solution for that tomorrow.


    Tutorials for StudioPress Themes.

    September 4, 2017 at 10:50 am #211097
    Dan-cer
    Member

    OK, fine!

    September 5, 2017 at 4:48 am #211120
    Brad Dalton
    Participant

    Here's the solution https://wpsites.net/web-design/change-order-of-sidebar-widgets-on-mobiles/


    Tutorials for StudioPress Themes.

    September 6, 2017 at 3:58 am #211136
    Dan-cer
    Member

    Hi Brad,
    I risked to register for a new month to get the code. But I can't find how to control it in Widgets-Control.
    Have I to implement something special into the css-code? As you did for enows-widget?
    `.sidebar-primary .enews-widget {
    grid-area: enews;
    float: none;
    width: 100%;
    margin-top: 40px;
    }

    September 6, 2017 at 4:13 am #211137
    Brad Dalton
    Participant

    Hi

    Support for members is provided here


    Tutorials for StudioPress Themes.

    September 6, 2017 at 4:18 am #211138
    Dan-cer
    Member

    That group is not available for me as it looks like!

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘General Discussion’ 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