• 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

menu-widget on top – on mobile divices

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 › menu-widget on top – on mobile divices

This topic is: not resolved

Tagged: menu-widget, order, rearrange, responcive, widgets

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 12 months ago by ramseyp.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 30, 2013 at 9:42 am #69902
    TCD
    Member

    Hi,

    I have a responcive designed website. Normally I would use the primary menu and this menu shows up at te top of the screen on mobile devices. By default all widgets show up at the bottom on the page on mobile devices.

    This time I used the menu in the widget-area (instead of the primary area). I want the widget area to show up at the top of the screen on mobile devices.

    Can anyone tell me how to do this?

    Thanks!

    November 17, 2013 at 2:05 pm #73749
    ramseyp
    Member

    Hi there,

    If you mean your header-right widget area, and having it load first instead of your title area, there are two ways to do it. Both involved code, one more CSS, the other uses PHP.

    1) unhook "genesis_do_header" and replace it in your theme's functions.php file with your own. If you look in your Genesis theme folder, under "lib/structure/", you'll see the header.php file. Lines 834 to 879 are what you want to replace in your theme's functions.php file, along with the right "remove_action()" and "add_action()" hooks.

    2) use some CSS to absolutely position the widget-area at the top of the browser window and to add enough a margin to push down the rest of the header.

    Depending on where you are with your coding skills, you might find one preferable over the other. My preference is the first one, that way I'm not having to write up a bunch of wacky CSS.

    Cheers!

    Pat


    Community • Work • Conversations

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