Support » Theme: elegantWhite » Remove page navigation

  • As said in the title. Where and how do I remove the page navigation on top of the page above the header?

    Thanks in advance 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    the likely location to find the navigation code is in header.php;

    make a backup copy before editing.

    remove:

    <div id="button"><textbutton>Show Menu</textbutton><textbutton style="display:none;">Hide Menu</textbutton></div>

    and:

    <div id="nav">
    	<ul class="nav">
    	<?php wp_nav_menu( array('theme_location' => 'header-nav', 'depth' => -1, 'menu_class' => 'nav' )); ?>
    	</ul>
    	</div><div id="clear"></div>

    (untested)

    Thank you so much…

    Just found another way of hiding de page navigation to… Via the ‘Exclude Pages from Navigation’ plugin. That did the trick for me…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove page navigation’ is closed to new replies.