Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1109833
    legalfab
    Participant

    Hi Theme X,

    Is it possible to insert uber menu into the Top Bar? If so, appreciate if you could advise on the code.

    Thanks!

    #1109854
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    Is it within the top bar? Or should be before or after the top bar?

    1. Please copy these files, _nav-primary.php and _topbar.php from \wp-content\themes\x\framework\views\global\ to your child theme (eg. \wp-content\themes\x-child\framework\views\global\ )

    2. Edit your child theme’s _nav-primary.php find this code

    ubermenu( $config_id, array( 'theme_location' => 'primary') );

    3. Move that code to your child theme’s _topbar.php, it’s up to you to which part of the top bar it should appear 🙂

    Hope these helps.

    #1110966
    legalfab
    Participant

    Hi Rad,

    Within the top bar. Btw, I am not looking to shift the primary menu into the topbar. I am just looking to insert another uber menu into the top bar (i.e. primary menu remains while there is another uber menu within the top bar; aligned right).

    Would the above code work?/

    Many thanks!

    #1110986
    Christian
    Moderator

    The files you need to edit are the ones given previously. Please see http://sevenspark.com/docs/ubermenu-3/integration/manual to learn how to integrate UberMenu to other parts of a theme. This requires custom development so you might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thanks.

    #1121853
    legalfab
    Participant

    Thanks

    #1121960
    Christian
    Moderator

    You’re welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1109833 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>