The Site Map Menu produces somewhat "confusing" code.

I created a menu called "Footer Menu" and enabled the sitemap module (for main menu and footer menu).

On the /sitemap page, i see this code inside "#site-map .site-map-menus":

<div class="site-map-box-menu site-map-box-menu-menu-footer-menu site-map-box">
[structure of footer menu]
</div>
<div class="site-map-box-menu site-map-box-menu-menu-footer-menu site-map-box-menu site-map-box-menu-main-menu site-map-box">
[structure of main menu]
</div>

The main menu ".site-map-box" also has the ".site-map-box-menu-menu-footer-menu" class!

Is there any "class list" that doesn't get cleared?

And by the way, how do I change the order of the menus?

Files: 
CommentFileSizeAuthor
#1 site_map_css_class-1477940-1.patch532 bytesnitingoyal

Comments

StatusFileSize
new532 bytes

Hi flokli
I have created a patch for this Please test it and provide your feedback on the same

Hi flokli
Were you able to test the patch? if yes then please provide feedback

Assigned:Unassigned» nitingoyal

Status:Active» Needs review

fixes the bug for me.

Status:Needs review» Patch (to be ported)

the patch work for me too, it can be ported

Issue summary:View changes
Status:Patch (to be ported)» Fixed

In the new 7.x-1.1 release

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.