• 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

styleandcheer

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • May 5, 2017 at 1:36 pm in reply to: Sticky Navigation not mobile responsive Foodie Pro #205985
    styleandcheer
    Member

    Hello again,

    Just wanted to say I no longer need the info for sticky mobile header.

    I got fed up with my Foodie Pro theme (after spending 2 weeks night & day trying to change it drastically without knowing code very well) and switched to Market theme which has awesome support from designer and already has the layout I want.

    Have a great day!

    May 5, 2017 at 1:31 pm in reply to: Comment out Foodie Pro footer in PHP #205984
    styleandcheer
    Member

    Thank you kindly! I am sure someone will benefit from this info!

    I got fed up with my Foodie Pro theme (spent a couple weeks trying to change it drastically without knowing code very well) and switched to Market theme that has awesome support from designer and already comes with a layout I want.

    Live and learn!

    May 3, 2017 at 10:30 am in reply to: Sticky Navigation not mobile responsive Foodie Pro #205812
    styleandcheer
    Member

    The code that made navigation sticky only had effect in desktop view. The tablet and phone view do not have a sticky navigation. I know it's collapsed in tablet and phone view, but it's not sticky. I'm working with Foodie Pro, so maybe this problem is theme specific? Just trying to figure out how to solve it.

    May 1, 2017 at 4:59 pm in reply to: How to reorder above header in Genesis Foodie Pro #205723
    styleandcheer
    Member

    Used in theme editor (under Appearance, then Edit) and it's perfect! Thanks again!

    May 1, 2017 at 4:57 pm in reply to: How to reorder above header in Genesis Foodie Pro #205722
    styleandcheer
    Member

    Wow! You saved the day! Thanks, Brad! I'm sure others will benefit from this info.

    May 1, 2017 at 4:53 pm in reply to: How to reorder above header in Genesis Foodie Pro #205719
    styleandcheer
    Member

    So is this what the new code needs to look like?

    // Move primary navigation
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before', 'genesis_do_nav', 1);

    May 1, 2017 at 4:51 pm in reply to: How to reorder above header in Genesis Foodie Pro #205717
    styleandcheer
    Member

    Exactly. I want the navigation to be right at the top, above the "featured posts" widget area (which is genesis_before_header). I tried to change the snippet wording to before_before_header but it didn't have any effect. Or that's when my site crashed, can't remember now.

    May 1, 2017 at 3:41 pm in reply to: How to reorder above header in Genesis Foodie Pro #205715
    styleandcheer
    Member

    <script src="https://gist.github.com/anonymous/823df3cfdff4c4aad6fb46ab9d778841.js"></script>

    May 1, 2017 at 3:40 pm in reply to: How to reorder above header in Genesis Foodie Pro #205714
    styleandcheer
    Member

    <https://gist.github.com/anonymous/823df3cfdff4c4aad6fb46ab9d778841&gt;

    May 1, 2017 at 3:23 pm in reply to: How to reorder above header in Genesis Foodie Pro #205712
    styleandcheer
    Member

    Hm...my link to Github is not showing up. I made it secret, should I have made it public?

    May 1, 2017 at 3:22 pm in reply to: How to reorder above header in Genesis Foodie Pro #205711
    styleandcheer
    Member

    May 1, 2017 at 3:21 pm in reply to: How to reorder above header in Genesis Foodie Pro #205710
    styleandcheer
    Member

    Looks like I was using theme editor, specifically functions.php.

    May 1, 2017 at 3:14 pm in reply to: How to reorder above header in Genesis Foodie Pro #205708
    styleandcheer
    Member

    I have seen this hook map online already, and it makes things even more confusing for me, because it looks like all I have to do is hook up the navigation bar to the very top hook called "genesis_before" and my issues would be solved, right? But when I messed with the code, my site crashed. It was backed up so I'm up and running again, but back to square one.

    Which part of the code should I provide?

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)

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