You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
I am trying to remove the vertical menu class from the drop down menu from the menu-walkers.php but even when i remove it, the class is still applied. why is that?
The text was updated successfully, but these errors were encountered:
Which menu do you mean.
Do you want to remove the vertical class from the mobile nav?
If so, you have to go to the FoundationPress/library/navigation.php and remove it on line 48
This is because the vertical class is not only added by the walker class but also by the Responsive Navigation Javascript.
You can remove the "data-dropdown-menu" attribute from the "items_wrap" value inside the "foundationpress_top_bar_r" function.
Hey @derweili thanks i appreciate it, I just removed the vertical class in the library/menu-walkers.php $output .= "\n$indent<ul class=\"dropdown menu vertical \" data-toggle>\n"; then i added data-vertical-class="NewClass" to the navigation.php 'items_wrap' => '<ul id="%1$s" class="%2$s desktop-menu" data-dropdown-menu data-vertical-class="horizontal">%3$s</ul>', Incase anyone else was wondering.
I am trying to remove the vertical menu class from the drop down menu from the menu-walkers.php but even when i remove it, the class is still applied. why is that?
The text was updated successfully, but these errors were encountered: