I'm using Magento and this is generating the menu as follow:

<ol class="nav-primary">
  <li  class="level0 nav-1 first level-top">
   <a href="">Item 1</a>

I need to change the root element of nav from (ordered list) to (unordered list). I checked the app/code/core/Mage/catalog/Block/Navigation.php but did not find anything.

Thank you!

1 Answer 1



you can change here <ol> to <ul>. Only these <li></li> element are generate from app/code/core/Mage/catalog/Block/Navigation.php

<?php if($_menu): ?>
    <nav id="nav">
        <ol class="nav-primary">
            <?php echo $_menu ?>
<?php endif ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.