Title: UberMenu manual integration
Last modified: August 22, 2016

---

# UberMenu manual integration

 *  [Pidor](https://wordpress.org/support/users/pidor/)
 * (@pidor)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/ubermenu-manual-integration/)
 * Hi,
 * I installed UberMenu but am having some troubles. For instance, the welcome area
   buton doesn’t work anymore and the menu is no longer sticky.
 * Here is the piece of code I changed :
 *     ```
       </header><!-- #masthead -->
       	<?php endif; ?>
   
       	<?php if( function_exists( 'ubermenu' ) ): ?>
       		<?php ubermenu( 'main' , array( 'theme_location' => 'primary' ) ); ?>
       	<?php else: ?>
       		<div class="top-bar">
       			<div class="container">
       				<nav id="site-navigation" class="main-navigation col-md-12" role="navigation">
       					<button class="menu-toggle btn"><i class="fa fa-bars"></i></button>
       					<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
       				</nav><!-- #site-navigation -->
       			</div>
       		</div>
       	<?php endif; ?>
       ```
   
 * Do you know, by any chance, what’s going wrong?
 * I asked UberMenu the same question but they are quite slow to find a solution…
 * Thanks in advance 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [vladff](https://wordpress.org/support/users/vladff/)
 * (@vladff)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/ubermenu-manual-integration/#post-5594596)
 * You’re basically replacing the whole menu bar there with ubermenu, so it can’t
   be sticky because it doesn’t exist anymore. And I’m guessing your welcome area
   button leads to `#site-navigation` which also doesn’t exist?
 * I don’t know how Ubermenu works, but try this:
 *     ```
       </header><!-- #masthead -->
       	<?php endif; ?>
   
       <div class="top-bar">
          <div class="container">
       	<nav id="site-navigation" class="main-navigation col-md-12" role="navigation">
       	   <button class="menu-toggle btn"><i class="fa fa-bars"></i></button>
       	  <?php if( function_exists( 'ubermenu' ) ): ?>
       		<?php ubermenu( 'main' , array( 'theme_location' => 'primary' ) ); ?>
                 <?php endif; ?>
       	</nav><!-- #site-navigation -->
         </div>
       </div>
       ```
   
 *  Thread Starter [Pidor](https://wordpress.org/support/users/pidor/)
 * (@pidor)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/ubermenu-manual-integration/#post-5594601)
 * Yes, the welcome area button leads to #site-navigation.
 * This code doens’t work either. Thank you very much for trying anyway 🙂 I’ll 
   try to find another solution.
 *  [vladff](https://wordpress.org/support/users/vladff/)
 * (@vladff)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/ubermenu-manual-integration/#post-5594617)
 * I had a quick look at the documentation for Ubermenu and they say they have automatic
   integration, so why not use that? Moesia meets the requirements they state there.
 *  Thread Starter [Pidor](https://wordpress.org/support/users/pidor/)
 * (@pidor)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/ubermenu-manual-integration/#post-5594645)
 * Yes, that’s the first thing I tried but it doesn’t work…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘UberMenu manual integration’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/moesia/1.54/screenshot.png)
 * Moesia
 * [Support Threads](https://wordpress.org/support/theme/moesia/)
 * [Active Topics](https://wordpress.org/support/theme/moesia/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/moesia/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/moesia/reviews/)

## Tags

 * [ubermenu](https://wordpress.org/support/topic-tag/ubermenu/)

 * 4 replies
 * 2 participants
 * Last reply from: [Pidor](https://wordpress.org/support/users/pidor/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/ubermenu-manual-integration/#post-5594645)
 * Status: not resolved