Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi BELDI,

    While creating the menu, did you select a “Menu location”? This needs to be done to make the menu appear on your website.

    To do this, go back to Appearance > Menus, and edit the menu. There will be a part that says “Menu locations”. Check the checkbox (e.g. “Main navigation” or “Main menu”, depending on your theme) and save the menu again.

    Now, it should appear.

    Please let me know if this solves your problem ??

    Thread Starter BELDI

    (@beldi)

    Hi

    Thank you for your response but the problem is not resolved. I checked every things, all is ok. but the nav menu still not displayed.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you talked to your theme’s vendors about support for their theme?

    Try it manually, add <?php wp_nav_menu( array(‘menu’ => ‘Main Menu’) ); ?> where you want to add menu.
    Use your Menu name instead of ‘Main Menu’ .

    Thread Starter BELDI

    (@beldi)

    HI
    Thanks, Now the menu is diplayed but it looks weird the buttons are superimposed , you can see it in the following link (https://www.ilearnuae.com/) and I couldn’t to fix it.

    <?php wp_nav_menu( array(‘menu’ => ‘Main Menu’,’menu_class’ => ‘menuclass’,) ); ?>
    You can add a class to ‘ul’ to add any style to the menu.

    Add this to your CSS file, it should style.css in your theme folder
    .sub-menu{display:none}
    .navigation-wrapper .menu li{float:left}
    It will make your menu look fine, you can then add rule for submenu.

    Thread Starter BELDI

    (@beldi)

    Hi
    Thanks a lot for your response last time.
    I’m sorry but I’m new in wordpress and I dont have a big knowledge in Php and css Code.
    Now I have an other question :
    I trying to change a logo in the header of my website , so I go to appearence=> costumize and I replace the old logo by the new one, everything is ok till I refresh the page and the old logo apears again and no changes are happened.
    this is the link of my website (https://alhadikaoliveoil.com)

    Thread Starter BELDI

    (@beldi)

    Hi
    Please i need an urgent help, My web site was damaged with this error(Parse error: syntax error, unexpected ‘register_my_menu’ (T_STRING), expecting ‘(‘ in /home/ilearnua/public_html/wp-content/themes/grandcollege/functions.php on line 96) and I didn’t find the solution and I have to fix as soos as possible.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Navigation menu is not displayed’ is closed to new replies.