THEMEHALL
  • Omega
  • Cart
  • Support
  • My Account

Change position of the navigation bar

Home › Forums › Omega › Change position of the navigation bar

Tagged: nav bar omega header position

  • This topic has 16 replies, 6 voices, and was last updated 11 years, 8 months ago by han.
Viewing 2 posts - 16 through 17 (of 17 total)
← 1 2
  • Author
    Posts
  • August 19, 2014 at 4:10 pm #2531
    KeithGee
    Participant

    Hey Han, I just installed the Omega Child theme and it’s great. I have pasted your code above into the functions.php file in the child theme to position the nav bar below the header, but nothing changes.

    Pasted this code right after this line, so it looks like this:

    endif; // omega_child_theme_setup

    add_action( ‘after_setup_theme’, ‘omega_child_theme_setup’, 11 );

    function child_theme_setup() {
    $prefix = hybrid_get_prefix();
    remove_action( “{$prefix}_before_header”, ‘omega_get_primary_menu’ );
    add_action( “{$prefix}_after_header”, ‘omega_get_primary_menu’ );

    }

    August 21, 2014 at 11:04 am #2538
    han
    Keymaster

    Hi Keith, if you use ‘Omega Child’ theme, you only need to insert this code into ‘omega_child_theme_setup’ function.

    remove_action( 'omega_before_header', 'omega_get_primary_menu' );
    add_action( 'omega_after_header', 'omega_get_primary_menu' );
  • Author
    Posts
Viewing 2 posts - 16 through 17 (of 17 total)
← 1 2

You must login to reply to this topic.

Copyright © 2025 THEMEHALL.

  • Terms of Service
  • Resources
  • Blog
  • Support
css.php