Archived topic
Implementing primary menu in Xenforo
3 replies · Started by Christian on January 26, 2017
Hi!
I'm currently implementing a community with Wordpress as the cms engine and Xenforo as the forum engine.
I need to replicate the primary menu functionality on Generatepress for Xenforo, to get an identical look and feel on both parts of the site.
For now I think I'm gonna keep it simple and just copy-paste the static html from the GP theme to the Xenforo templates and skip the php programming. Any idea on which css and js files I need to include in the header of the Xenforo style to make it work?
Thanks in advance
Hmm, you may run into issues with that as WordPress adds dynamic classes to the menu items based on current pages etc..
The menu has CSS in the style.css, mobile.min.css and defaults.min.css files.
As for javascript, it uses the dropdown.min.js and navigation.min.js files.
You might be better off styling the Xenforo menu to simply look like the GP as best you can.
Thanks for the input!
No problem - good luck! :)