Home › Forums › Support › Integration with UBERMENU › Reply To: Integration with UBERMENU
February 13, 2015 at 1:32 am
#74650
webyogi
Hey Tom!
That was a Master stroke from you!
I simply changed the navigation position to “No Navigation” under:
Appearance > Customize > Layout > Navigation Layout
and:
functions.php
add_action( ‘generate_after_header’ , ‘generate_ubermenu’ , 5 );
function generate_ubermenu()
{ ?>
<div class=”grid-container”>
<?php ubermenu( ‘main’ , array( ‘theme_location’ => ‘primary’ ) ); ?>
</div>
<?php
}
All done.
Thanx.