Notifications
Clear all

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

5 Posts
3 Users
2 Reactions
3,277 Views
Posts: 3
Topic starter
(@her3sy)
Active Member
Joined: 8 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: 10587
Admin
(@robert)
Support Team
Joined: 9 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: 8 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: 10587
Admin
(@robert)
Support Team
Joined: 9 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: 7 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] . Если не сработало под твой шаблон, пиши мне.