Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1024785
    andrewgmiles
    Participant

    Hi

    I’ve updated to the latest version. How can I turn OFF ubermenu from being used for the Primary Menu?

    I already had Ubermenu installed on the site because it’s used in other places – but it’s currently overriding my default skin style on the Primary menu and won’t let me turn that off.

    Thanks, Andrew

    #1025248
    Prasant Rai
    Moderator

    Hello Andrew,

    Thanks for writing in!

    Please uninstall Ubermenu to use X Theme default navigation styles.

    Thank.

    #1025331
    andrewgmiles
    Participant

    Sure, I know I could do that. But, as I said, I already had the ubermenu plugin deliberately installed because it’s used in other areas of my site. The issue is not being able to disable it (as you normally can) from being used with the primary menu. That’s what I need to do.

    #1025978
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    The integration is based on instance of Ubermenu. You can find it from this file \wp-content\themes\x\framework\views\global\_nav-primary.php

    For the meantime, you can select which page to apply your UberMenu by adding is_page() with the page ID. For example,

    if( function_exists( 'ubermenu' ) && $config_id = ubermenu_get_menu_instance_by_theme_location( 'primary' ) && is_page( array(2324, 4323, 9383) ) ):

    Hope this helps.

    #1035327
    Pinnacle
    Participant

    Hi Rad, X-theme folks,

    I am having the same issue as the OP, but this solution will not work. I already had Ubermenu in use for a specialized menu in the header of my site that is employed by a widget. I do -not- want to use Ubermenu for the primary menu, but -do- need it to be active on every page of my site.

    I need a solution that allows me to deactivate Ubermenu from the Primary Menu and Footer Menu, as it was doing before the Xtheme integration.

    Thanks — website details to follow.

    Bobby

    #1035329
    Pinnacle
    Participant
    This reply has been marked as private.
    #1035350
    Pinnacle
    Participant

    If it helps anyone else with this issue, here is my temp fix until Support gives me something better:

    Select “Footer Menu” and it will allow you to deselect Primary Menu, then find your nav ID using right-click/Inspect Element in your browser. Use something like the following CSS to make the footer menu disappear:

    /*UBERMENU HACK/FIX*/
    nav#ubermenu-main-7-footer, a.ubermenu-loc-footer {
      display:none !important;
    }
    #1035387
    Nico
    Moderator

    Thank you so much. It would really help others.

    Have a great day! 🙂

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