title: Magento: No navbar
body: <p>I am new to Magento. I want to create a menu with different pages, but I don't have a navigation bar on top. How do I add a navigationbar?</p>
  
  <p><strong>This is my topmenu.phtml:</strong></p>
  
  <pre><code>&lt;?php $_menu = $this-&gt;getHtml('level-top') ?&gt;
  &lt;?php if($_menu): ?&gt;
      &lt;div class="nav-container"&gt;
          &lt;ul id="nav"&gt;
              &lt;?php echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('top-navbar-before')-&gt;toHtml() ?&gt;
              &lt;?php echo $_menu ?&gt;
              &lt;?php echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('top-navbar-after')-&gt;toHtml() ?&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;?php endif ?&gt;
  </code></pre>
  
  <p><strong>Here is the static block:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/ORajr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ORajr.png" alt="**enter image description here**"></a></p>
  
  <p><strong>Still no navbar. The page.xml has these lines:</strong></p>
  
  <pre><code>        &lt;block type="core/text_list" name="top.menu" as="topMenu" translate="label"&gt;
              &lt;label&gt;Navigation Bar&lt;/label&gt;
              &lt;block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"&gt;
                  &lt;block type="page/html_topmenu_renderer" name="catalog.topnav.renderer" template="page/html/topmenu/renderer.phtml"/&gt;
              &lt;/block&gt;
          &lt;/block&gt;
  </code></pre>
  
  <p>This should be a simple task. Anyone here with ideas?</p>