How do I integrate jQuery Mega Menu into Mantra??

  • Author
    Posts
  • #8421
    Detlef

    I want to integrate the jquery mega menu into my site using the mantra theme but face some small difficulties!

    I am using a child theme and added the following to funtions.php
    <?php
    if ( function_exists(‘register_sidebar’) ){
    register_sidebar(array(
    ‘name’ => ‘My Mega Menu’,
    ‘before_widget’ => ‘<div id=”my-mega-menu-widget”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ”,
    ‘after_title’ => ”,
    ));
    }
    ?>
    to register a new widget area

    then I added
    <?php /* Widgetized sidebar */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘My Mega Menu’) ) : ?><?php endif; ?>
    to my header.php and also changed the line

    <nav id=”access” role=”navigation”> to <nav id=”” role=”navigation”>

    The menu itself works fine and as expected, but the side effect am trying to eliminate is the showing of the whole menu structure direct above the mega menu as plain textual links as well.

    For now the site is developed on a local host and therefore I am not able to provide a link for the site so far!

    I will be grateful if anyone can be of help and show me how get rid of the said above my menu

    #9035
    Detlef

    eish, no help available as of yet?

    Should I really be forced to change from mantra to weaver ii theme just cos of this issue?

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How do I integrate jQuery Mega Menu into Mantra??’ is closed to new replies.