My Bootstrap 5 megamenu needs all the dropdown menus to span the entire page width and be in the same position, similar to this page.
How can I make the dropdown menus larger? Which Bootstrap class should I modify?
I've attempted to make changes, but nothing seems to have worked. I'm not sure why.
Here is the CSS code I've used:
.navbar-nav {
max-width: 950px;
width: 80%;
display: flex;
justify-content: space-around;
align-items: center;
}
/* Remaining CSS code */
<!-- Bootstrap-5 Dependencies -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1b758a8a958b9685555a4f778a999089">[email protected]</a>/dist/umd/popper.min.js" integrity="sha384-isErWuINq5IFhLRR6l5eLplQGJB0FclangslM1U9se4TnwSwebMDUIbMCkipU" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d2bcb7b6a8b6bbf9aea5aaacabbdbcc6b3b0eeb3beba">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-vgrBoR1l5vU3xvf7ZciGtSxDBgzMWiVpSGw6LaV6nCraovDJcGQn06aXEUiipF" crossorigin="anonymous"></script>
/* Remaining HTML code */