• Resolved Lady Billie

    (@lady-billie)


    Hi, I am brand new to all this, I want my header image to be above my menu/navigation bar. I have look around the web but all I can find is very different to what my theme seems to have in it’s header.php editor. I am running Lifestyle Theme, Child of Omega Themes. https://www.ladybillie.com This is all that is in my header .php editor. `<!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <link rel=”profile” href=”https://gmpg.org/xfn/11″&gt;
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?> <?php omega_attr( ‘body’ ); ?>>
    <?php do_action( ‘omega_before’ ); ?>
    <div class=”<?php echo omega_apply_atomic( ‘site_container_class’, ‘site-container’ );?>”>
    <?php
    do_action( ‘omega_before_header’ );
    do_action( ‘omega_header’ );
    do_action( ‘omega_after_header’ );
    ?>
    <div class=”site-inner”>
    <?php do_action( ‘omega_before_main’ ); ?>`
    Hope I have uploaded that right? Can this be done at all? Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Lady,

    a suggestion, might not be the best one, but it should work!

    The file you need to manipulate is functions.php in the child theme directory i.e.: ../lifestyle/

    Go to function lifestyle_setup()
    There you’ll find a line
    add_action( ‘omega_after_header’, ‘lifestyle_banner’ );
    possibly line number 30 in the file

    Move that line to the beginning of the function as follows:
    lifestyle_setup() {
    add_action( ‘omega_after_header’, ‘lifestyle_banner’ );

    leave the rest of the file as it was

    It will change the position of your banner to top of the navigation menu.

    Thread Starter Lady Billie

    (@lady-billie)

    Thank you so much!!! That has totally worked and looks so much better now! ??

    You’re most welcome! Happy that it worked for you!

    Thread Starter Lady Billie

    (@lady-billie)

    Okay this is strange, been having lots of problems of late with my site and even though the code is still in the right place as answered by yoga1103 the header has moved back to under my menu. Anyone know what I can do to change this back to having my header image before my menu, i.e the menu under the header image?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I change Header and Menu Space’ is closed to new replies.