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

nitingoyal’s picture

StatusFileSize
new532 bytes

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

nitingoyal’s picture

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

nitingoyal’s picture

Assigned:Unassigned» nitingoyal
nitingoyal’s picture

Status:Active» Needs review
flokli’s picture

fixes the bug for me.

gurvan’s picture

Status:Needs review» Patch (to be ported)

the patch work for me too, it can be ported

john.oltman’s picture

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.