When I set class to "button" with menu attribute it does not appear in the front end of my site, a change is observed in the admin panel
http://screencast.com/t/zBrx6CXQIIOG
but not in the actual frontend html of my website which is obviously where I really need it.

I am using mega menu 7.x-1.x-dev which now only has a dev release in 7

Files: 

Comments

I don't think this is related to megamenu, because I'm seeing the same issue as well here. Classes added to the menu link are simply not applied outside of the menu admin screen.

Silurius, I'm might assume that you say "I don't think this is related to megamenu" because you're not using MegaMenu? However, I try not to assume anything. =)

Which Theme are you using? The theme is probably the issue. The marinelli theme caused the issue for me. Added some code in function marinelli_mega_menu. This is located in theme.inc.

I'm using a subtheme of Adaptive Themes with Tb_megamenu and I'm not seeing classes, either. This issue is a bit old. I'm curious if you guys have come up with anything in the interim.

Issue summary:View changes
Status:Active» Needs review
StatusFileSize
new598 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch tb_megamenu-Classes-not-appearing-1691632-4.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

For #4, Reason for the issue : tb_megamenu is nt checking if classes has been added by any other module. Issue isn't with menu_attributes module but it is with tb_megamenu module

Attached patch should help. :)

Status:Needs review» Needs work

The last submitted patch, 5: tb_megamenu-Classes-not-appearing-1691632-4.patch, failed testing.

Status:Needs work» Closed (fixed)

Seems wrong place for patch. Bot tried applying this patch for menu_attribute, but this will be applicable for tb_megamenu module.
There is no issue with menu_attribute module.
@hwasem : patch in #5 should solve your problem.

Thanks for this, SwapS. Do you have the issue the patch came from so I can review and better understand it? I can't see to find it. It tried issue 1691632 as list on the patch, but that was for Facebook Share module. It is giving a white screen after the patch is applied.

Thanks again!

hwasem, apply this patch to the tb_megamenu module. it should solve your prob.

Thanks!!

I applied it to tb_megamenu.themes.inc in tb_megamenu and I just get a WSOD.

I'm using TB_Megamenu 7.x-1.0-beta2+0-dev and it applies without error.