Kentico CMS 7.0 Controls

Appearance and styling

Appearance and styling

Previous topic Next topic Mail us feedback on this topic!  

Appearance and styling

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The appearance of the CMSMenu control is determined by the CSS classes it uses and by some of its properties.

 

You can also use the following CSS classes:

 

Class Name

Description

CMSMenu

CSS class of the menu table.

CMSMenuItem

CSS class of menu items.

CMSMenuItemMouseDown

CSS class of menu items when the mouse button is down.

CMSMenuItemMouseOver

CSS class of a menu item when a user moves the mouse cursor over it.

CMSMenuItemMouseUp

CSS class of menu items when the mouse button is released.

CMSMenuHighlightedMenuItem

CSS class of highlighted menu items.

CMSMenuHighlightedMenuItemMouseDown

CSS class of highlighted menu items when the mouse button is down.

CMSMenuHighlightedMenuItemMouseOver

CSS class of a highlighted menu item when a user moves the mouse cursor over it.

CMSMenuHighlightedMenuItemMouseUp

CSS class of highlighted menu items when the mouse button is released.

 

The recommended place to define these classes is in a stylesheet in the Kentico CMS administration interface at Site Manager -> Development -> CSS stylesheets. These stylesheets can be applied to individual documents (pages) that contain the control in CMS Desk -> Content -> Edit -> Properties -> General -> CSS stylesheet.

 

Please refer to Using the CSSPrefix property to learn how to add prefixes to these classes to customize items at any menu level.