Anomalous Behavior of Default Menu
-
I have experienced the following issue.
I have registered a primary menu in functions.php, then i put the code in the header and assigned specific classes to the container and the menu_class. When i loaded my page I saw a list of my pages but without any styling (that was already in the style.css) and so I have discovered that the classes were not been assigned to the div and ul.
Practically, by default, these classes are not assigned unless I go in the admin panel, in the Menu section and assigned a menu to the menu created in functions.php. BUT by default a menu is created with the list of pages.So I think this is an anomalous behaviour that I wanted to notify to you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Anomalous Behavior of Default Menu’ is closed to new replies.