Tagged: x
-
AuthorPosts
-
June 3, 2016 at 4:24 pm #1024785
andrewgmilesParticipantHi
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
June 3, 2016 at 11:41 pm #1025248
Prasant RaiModeratorHello Andrew,
Thanks for writing in!
Please uninstall Ubermenu to use X Theme default navigation styles.
Thank.
June 4, 2016 at 12:59 am #1025331
andrewgmilesParticipantSure, 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.
June 4, 2016 at 5:20 pm #1025978
RadModeratorHi 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.
June 10, 2016 at 12:23 am #1035327
PinnacleParticipantHi 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
June 10, 2016 at 12:26 am #1035329
PinnacleParticipantThis reply has been marked as private.June 10, 2016 at 12:45 am #1035350
PinnacleParticipantIf 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; }June 10, 2016 at 1:22 am #1035387
NicoModeratorThank you so much. It would really help others.
Have a great day! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1024785 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
