We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is i possible to make the parent stay clickable when having children items?
The text was updated successfully, but these errors were encountered:
My solution is:
Replace $attributes .= ( $args->walker->has_children ) ? ' class="'. $nav_link_class . $active_class . ' dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"' : ' class="'. $nav_link_class . $active_class . '"';
$attributes .= ( $args->walker->has_children ) ? ' class="'. $nav_link_class . $active_class . ' dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"' : ' class="'. $nav_link_class . $active_class . '"';
to $attributes .= ( $args->walker->has_children ) ? ' class="'. $nav_link_class . $active_class . '" aria-haspopup="true" aria-expanded="false"' : ' class="'. $nav_link_class . $active_class . '"';
$attributes .= ( $args->walker->has_children ) ? ' class="'. $nav_link_class . $active_class . '" aria-haspopup="true" aria-expanded="false"' : ' class="'. $nav_link_class . $active_class . '"';
and triggering dropdown by css: .menu-item-has-children:hover { .dropdown-menu { display:block !important; } }
.menu-item-has-children:hover { .dropdown-menu { display:block !important; } }
However, take into account that I do not use navbar for the mobile version (I have my own) and I don't know how it will work.
Sorry, something went wrong.
No branches or pull requests
Is i possible to make the parent stay clickable when having children items?
The text was updated successfully, but these errors were encountered: