Design and CSS styles
Version 5.x > Design and CSS styles > CMSMenu control. I want to use a style for the drop-down menu items View modes: 
User avatar
Member
Member
berneanuvicentiu-gmail - 12/7/2010 10:53:13 AM
   
CMSMenu control. I want to use a style for the drop-down menu items
Hi,

I use CMSMenu control. I want to use a style for the drop-down menu items which is different from the style of the top main menu items.
How can I achieve that?

Thank you,

Best Regards,
Vicentiu

User avatar
Kentico Support
Kentico Support
kentico_radekm - 12/13/2010 8:57:12 AM
   
RE:CMSMenu control. I want to use a style for the drop-down menu items
Hello.

If I understand you well, you want to have CMSMenu sub-items in a different style, than 1. level items? In this case, it is only matter of what style will you define in proper classes.

For example, when using horizontal CMSMenu, sub-items are using .horizontalsubCMSMenuItem class, 1. level items are using .horizontalCMSMenuItem. The same for vertical menu. "Horizontal" and "vertical" are prefixes, and you can change them in web part properties.

Best Regards,
Radek Macalik