Reposition Home Secondary Nav Below Welcome & Above home-middle-wide

Homepage Community Forums Optimal Theme Support Reposition Home Secondary Nav Below Welcome & Above home-middle-wide

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11581
    askdesign
    Customer

      Hi Wes,
      I’ve got a unique navigation for the Home page. I’ve styled it with a Custom Menu and assigned it to the Secondary Navigation. I’m able to position it below Welcome using this code in functions.php:

      // Reposition the Secondary Navigation
      remove_action( 'genesis_after_header', 'genesis_do_subnav' );
      add_action( 'genesis_before_content', 'genesis_do_subnav' );

      The above code places the nav into the content area.

      The challenge for me is that I need to insert some text beneath the navigation, before the footer widgets. So, I want the sequence to ideally be this:
      header
      welcome
      navigation
      home-middle-wide
      footer-widgets

      Is there a hook for this? I tried using the various landing page widgets, but they all place the content above the nav, rather than below it.

      many thanks!

      #11591
      Wes
      Moderator

        Try adding a priority at the end of that code so it will show up after the welcome area. Or you could add a priority to the welcome area and move it up so it shows before the nav.

        You’ll have to test each priority number by starting from 0 and going up until you get the position you want.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.