Welcome Guest Search | Active Topics | Sign In | Register

CSS Class name problems on Menu Options
Mark
Posted: Friday, November 2, 2007 11:40:08 AM
Rank: Newbie
Groups: Member

Joined: 10/23/2007
Posts: 1
I am using the basic menu component. I am finding problems assigning CSS Styles.

Here is a sample of my source:

Code: HTML/ASPX
<eo:menu id="theSlideMenu" runat="server" AutoSelectMode="Path" Width="300px" KeepExpandedOnClick="True" TargetFrame="main" ControlSkinID="None">
<LookItems>
	<eo:MenuItem 
	HoverStyle-CssClass="menuItem_HoverStyle1" ItemID="_TopLevelItem"
	NormalStyle-CssClass="menuItem_NormalStyle1">
	<SubMenu Style-CssText="padding-right: 3px; 
			padding-left: 3px; 
			font-size: 12px; 
			padding-bottom: 2px; 
			border-left: #556469 1px solid; 
			cursor: hand; 
			color: black; 
			padding-top: 2px; 
			border-bottom: #556469 2px solid; 
			font-family: Tahoma; 
			background-color: #FAF9F6" 
OffsetX="-3" ShadowDepth="3" OffsetY="3" ItemSpacing="5">
</SubMenu>
	</eo:MenuItem>
...


I can assign CSS classnames to HoverStyle-CssClass and NormalStyle-CssClass in MenuItem, but in the submenu I had to assign the text directly rather than using a CssClass attribute. I think I may have tried something like Style-CssStyle instead of Style-CssText. It seemed to have no effect. Only when I changed it back to text it worked....any ideas...?

Regards,

Mark
eo_support
Posted: Friday, November 2, 2007 11:47:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Mark,

That's because you are only change CSS class names on the "_TopLevelItem" look item. There are other look items that you would want to modify. You can find more details at here:

http://www.essentialobjects.com/ViewDoc.aspx?t=MenuCommon%2fLookSkinAndTheme%2flooks.html

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.