How to Fix: Bootstrap dropdown sub menu missing
Bootstrap 3 dropdown sub menu missing due to removal of deprecated classes. Use the new .dropdown-menu class and add .dropdown-submenu for submenus.
📋 Table of Contents
Bootstrap 3 is still at RC, but I was just trying to implement it. I couldn't figure out how to put a sub menu class. Even there is no class in css and even the new docs don't say anything about it
It was there in 2.x with class name as dropdown-submenu
Root Causes of the Error
- 1. The Bootstrap 3 version is still in RC (Release Candidate) and may not have all the features available for production use.
How to Resolve This Issue
Method 1: Use the dropdown-submenu class
- Step 1: Add the 'dropdown-submenu' class to your dropdown menu item.
Method 2: Use a different approach
- Step 1: Create a new dropdown menu item with the 'dropdown-submenu' class.
Conclusion
You can resolve this issue by adding the 'dropdown-submenu' class to your dropdown menu item.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Stuck in tutorial hell after 4 years: How do I b
Learn to build websites and think independently with coding skills.
How to Fix: Trying to sync mutliple audio tracks to a movie
Complex audio track synchronization can be challenging due to the larg
How to Fix: Failed to merge latest branches from upstream re
Update local repository with latest upstream branches.