Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Closed] Bug : < class="menu-mobilenav-container">

5 Posts
3 Users
2 Reactions
3,893 Views
Posts: 3
Topic starter
(@her3sy)
Active Member
Joined: 9 years ago

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.


4 Replies
Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

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/


Posts: 3
Topic starter
(@her3sy)
Active Member
Joined: 9 years ago

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

 


Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

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.


ayru
Posts: 1
 ayru
(@ayru)
New Member
Joined: 8 years ago

Короче, есть грязный метод:

[wpforo]

<script>

var codehtml = document.getElementById("wpforo-menu").innerHTML;

codehtml = codehtml.replace("&lt; class=\"menu-mobilenav-container\"&gt;", "");

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] . Если не сработало под твой шаблон, пиши мне.