-
Author
-
January 7, 2016 at 13:11 #96871ufkcsgnParticipant
Hello, i purchased Mega Menu for Visual Composer and i followed instructions there.
The following are additionally required of your theme if you wish to integrate VCMega Menu automatically, rather than adding a line of PHP to your theme template. Proper use of the wp_nav_menu function Use of the theme_location setting within the wp_nav_menu arguments A properly registered theme location Modular coding – CSS and JS based on the container ID or class passed to wp_nav_menu, rather than a hard-coded wrapper class Any properly coded theme will meet requirements 1-4. If requirement 4 is not met, you may have residual styling or residual scripting from the theme (meaning the theme’s CSS and javascript will interfere with VC Mega Menu’s functionality). If so, you can just replace it with VC Mega Menu’s manual integration code. wp_nav_menu( array( 'theme_location' => 'your_nav_location', 'menu_class' => 'nav-menu' ) );
In the file general-header-section.php under page-parts folder i found that line:
$primary_menu = wp_nav_menu( array( 'theme_location' => 'primary', 'depth' => 3, 'container' => 'div', 'container_class' => 'collapse navbar-collapse nav-collapse', 'menu_class' => 'nav navbar-nav', //'fallback_cb' => 'kleo_walker_nav_menu::fallback', 'fallback_cb' => '', 'walker' => new kleo_walker_nav_menu(), 'echo' => false ) );
replaced it with:
$primary_menu = wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) );
and also tried:
$primary_menu = wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' 'container' => 'div', 'container_class' => 'collapse navbar-collapse nav-collapse', ) );
It all did not work. The menu appeared in the top of the page when i do this steps and not in the Primary Menu field. I would kindly ask you to help in this matter as i think that this is a must for this theme as you already support Visual Composer with Kleo.
Thanks in advance for your help Regards
January 7, 2016 at 17:36 #96978LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 12, 2016 at 17:43 #98041AndreiModeratorPlease provide me the documentation of this plugin or a link to an integration documentation for this plugin because I can’t fully understand what’s happening just from what you’ve described.
Also please provide me admin credentials to your site and ftp account.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 13, 2016 at 17:53 #98306AndreiModeratorHello,
I tried to test the Mega Menu on your site but the site gone unavailable, please let me know when is up again so I can test this.
Looking forward.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 13, 2016 at 18:03 #98308ufkcsgnParticipantHi,
i am sorry there was an issue on the server.
Please try again.January 13, 2016 at 18:13 #98310AndreiModeratorFrom what I see “Mega Menu requires at least Visual Composer version 4.9”, and that version of VC will come in our next theme update ( in around one week ) so please keep an eye on the updates, and after you’ll have VC 4.9+, enable the VC Mega Menu plugin and if you still have any issues come back to us.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 26, 2016 at 16:34 #100570ufkcsgnParticipantHi,
still waiting for the update. btw. i updated VC with my own license to the latest version and tried it that way and it did not work. When can we expect your update. You said around one week on 13th Jan.Thanks
January 26, 2016 at 16:42 #100574AndreiModeratorI would really recommend you to try and get more help from the author of your vc addon, he should know better about what to do in such cases. The plugin you’re trying to use isn’t unfortunately one which should work out of the box and most probably will require some custom modifications which might not be supported by us or they might not apply to all our customers.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.