Hello,
I'm french, so sorry for my bad english.
I use the latest version of wordpress with the theme Vantage (my site is www.oraxen.fr), but there is an error on my forum page (link) :
It shows me the mobile menu and the computer menu, with this :
< class="menu-mobilenav-container">
I have not found the error, so I come here.
Thank you,
Thomas.
This comes from Mobile Navigation plugin, you should deactivate or configure it. Please read this topic: https://wpforo.com/community/how-to-and-troubleshooting/menu/
Thanks, but I haven't got a navigation plugin so i think that it's Vantage who create this bug.
How can I "patch" it ?
My actives plugins are :
WpForo
MetaSlider
Page Builder par Site Origin
Site Origin CSS
Site Origin Widgets Bundle
It seems the Mobile Navigation plugin is integrated with theme. It would be better to ask a question to this theme developers. This issue can not be fixed from wpForo side it's not wpForo core problem.
Короче, есть грязный метод:
[wpforo]
<script>
var codehtml = document.getElementById("wpforo-menu").innerHTML;
codehtml = codehtml.replace("< class=\"menu-mobilenav-container\">", "");
document.getElementById("wpforo-menu").innerHTML = codehtml;
var elem1 = document.querySelector("#so-mobilenav-standard-2");
elem1.remove();
var elem2 = document.querySelector("#so-mobilenav-mobile-2");
elem2.remove();
var elem3 = document.querySelector("#mobile-nav-item-wrap-2");
elem3.remove();
</script>
<style>
#mobile-nav-item-wrap-2 .mobilenav-main-link, #mobile-nav-item-wrap-2 mobile-nav-icon {
display: none !important;
}
</style>
Вставь его на странице форума вместо [wpforo] . Если не сработало под твой шаблон, пиши мне.