I recently began attempting to develop a simple WordPress theme for myself, and have since hit a wall with the navigation menu.
The drop down menu will have multiple items and multiple sub menus with the need to add more in the future. Example from the default WordPress theme – https://i.stack.imgur.com/HKJwX.png
I wanted to know what kind of CSS was behind the menu being able to dynamically add another item and sub menu with no limit.
Thanks
Try this:
CSS:
HTML:
DEMO: http://jsfiddle.net/TKBdY/