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
I just ran into a limitation that I thought might impact others. I had not run into an issue with this before, but I needed to control dropdown menu alignment and found I could not.
I added the following within start_lvl() replacing line 50:
if ( isset( $args->dropdown_menu_class ) ) { $classes = explode(" ", $args->dropdown_menu_class ); } else { // Default class to add to the file. $classes = array( 'dropdown-menu' ); }
Thanks for contributing this, super helpful.
I just ran into a limitation that I thought might impact others. I had not run into an issue with this before, but I needed to control dropdown menu alignment and found I could not.
I added the following within start_lvl() replacing line 50:
if ( isset( $args->dropdown_menu_class ) ) { $classes = explode(" ", $args->dropdown_menu_class ); } else { // Default class to add to the file. $classes = array( 'dropdown-menu' ); }
Then usage looks like such:
'dropdown_menu_class' => 'dropdown-menu dropdown-menu-right'
The text was updated successfully, but these errors were encountered: