0

I need to customize the html output for a menu.

This is the default output:

<section id="block-menu-menu-header-en" class="block block-menu">
    <div class="content">
        <ul class="menu">
            <li class="collapsed first"><a href="/home" title="">GROUP</a></li>
            <li class="collapsed"><a href="/services" title="SERVICES">SERVICES</a></li>
        </ul>
    </div> <!-- /.content -->
</section> <!-- /.block -->

This is the output what i need:

<nav class="main-nav">
    <ul>
        <li class="first"><a href="index.html" class="current">Home</a></li>
        <li><a href="space.html" title="Facilities Management, Facilities Planning and Project Management">Space</a></li>
    </ul>
</nav>

I would like to know if this is even possible because i can't find a solution.

Thanks in advance.

MasterD
  • 75
  • 7
  • You can change your theme in the `sites/all/theme` directory but why do you want to change it? – jantimon Sep 20 '13 at 12:18
  • Because i recieved a complex responsive html site to integrate with drupal and would be much easyer to change the html output from drupal than css files. – MasterD Sep 20 '13 at 12:27
  • I've tried in sites/all/themes but cant figure how. – MasterD Sep 20 '13 at 12:36
  • [Drupal 7: Modifying menu HTML output](http://stackoverflow.com/questions/5189307/drupal-7-modifying-menu-html-output?lq=1) – jantimon Sep 20 '13 at 12:42

0 Answers0