How to change the menu position in wordpress theme

Hi i already bought WordPress theme rayleigh but this theme only provide a menu option in left and right sidebar, but my client want to display it in the top section

So i find the code in https://codex.wordpress.org/Navigation_Menus

function register_my_menu() {
register_nav_menu(‘header-menu’,__( ‘Header Menu’ ));
}
add_action( ‘init’, ‘register_my_menu’ );

<?php wp_nav_menu( array( ‘theme_location’ => ‘header-menu’ ) ); ?>

But the menu display in li tag

HOME

Contacts US

Projects

i want them to display

`Home Contact us Project’

Can any help me how can acheive that

Read more here:: How to change the menu position in wordpress theme

Leave a Reply

Your email address will not be published. Required fields are marked *