Adding a top header

  • Posted in : Read WP
  • tazekins
    Participant

    In my previous theme I had a top header which catered for my login/signup menu items. I would like to add a top menu to this theme. I can figure some things out if you can help me get started please.

    Mehmet S.
    Keymaster

    Can you post here an online sample or a screenshot?

    tazekins
    Participant

    I sent a link on the contact form.

    Here is a screenshot. I managed to create the top header, but now I have difficulty with the mobile menu. How do I assign my new menu “topheader” with the mobile menu?

    http://www.screencast.com/t/lODBc6ir

    'firsttop_menu',
    'menu' => 'AfterLogin',
    'menu_id' => 'nav',
    'menu_class' => "menu-custom",

    ));
    }else{

    wp_nav_menu(array(

    'theme_location' => 'firsttop_menu',
    'menu' => 'BeforeLogin',
    'menu_id' => 'nav',
    'menu_class' => "menu-custom",

    ));
    }

    ?>

    tazekins
    Participant

    Sorry the code came out weird. I added an extra class “top-navigation” to change the css slightly so could I assign a mobile menu to only this menu using that class?

    ‘firsttop_menu’,
    ‘menu’ => ‘AfterLogin’,
    ‘menu_id’ => ‘nav’,
    ‘menu_class’ => “menu-custom”,

    ));
    }else{

    wp_nav_menu(array(

    ‘theme_location’ => ‘firsttop_menu’,
    ‘menu’ => ‘BeforeLogin’,
    ‘menu_id’ => ‘nav’,
    ‘menu_class’ => “menu-custom”,

    ));
    }

    ?>

    ahmetsali
    Keymaster

    Hi, you need to edit the mobile nav javascript code also in main.js. It can be possible but it requires more hard work, we can only provide customizations of some lines of code. You can hire someone experienced to do the job for you, if you are not familiar to wordpress-html coding.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register