Rank: Newbie Groups: Member
Joined: 10/10/2007 Posts: 2
|
Hi EO,
Can't find out how to style only my submenu.
I would expect that the <submenu> part would only be applied to the submenu, but my entire menu has a red background.
Where do I go wrong?
<LookItems> <eo:MenuItem HoverStyle-CssText="background-color:#0000c0;color:white;font-weight:bold;" ItemID="_Default" NormalStyle-CssText="font-weight:bold;" SelectedStyle-CssText="background-color:#0000c0;color:white;font-weight:bold;"> <SubMenu ItemSpacing="10" OffsetX="5" Style-CssText="background-color:red;"> </SubMenu> </eo:MenuItem> </LookItems>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
That's because top group is also considered as a sub menu of the root node. Try set _TopGroup.Style to override the red color. That should get it going.
Thanks
|
Rank: Newbie Groups: Member
Joined: 10/10/2007 Posts: 2
|
No, thank you! I understand the way it works now! Regards, Jan
|