Wordpress Bootstrap Navwalker with Bootstrap 5.0.0 - dropdown does not drop down on small screens/mobile?

This page summarizes the projects mentioned and recommended in the original post on /r/webdev

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • wp-bootstrap-navwalker

    A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.

  • I am currently trying to implement the Bootstrap Navwalker (see here: https://github.com/wp-bootstrap/wp-bootstrap-navwalker) in my wordpress files with the latest Bootstrap version 5.0.0. However, there seems to be an issue with the Navwalker when using this Bootstrap version. Everything works the way it should on desktop. However, on small screens or mobile, the dropdown doesn't drop down (it that makes sense). I am attaching a picture - basically, if I click on the circled button nothing from the nav comes down and I can't click any sites.

  • bootstrap-5-wordpress-navbar-walker

    Bootstrap 5 WordPress navbar walker menu.

  • I've tried looking around on the internet but haven't found a solution that works yet. I have tried changing all the data attributes in my header.php file to "data-bs-" like it's suggested here: https://wordpress.stackexchange.com/questions/383286/why-is-my-bootstrap-5-navbar-not-displaying-the-drop-down-menu-on-smaller-screen - didn't work. I have also tried using this solution with the functions.php and header.php file: https://github.com/AlexWebLab/bootstrap-5-wordpress-navbar-walker - didn't work either.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts