Building on the Quick Start example, you can use CSS styles to change the menu background and border colors, the text color, child menu background and border colors, as well as link and hovered link fonts and colors. Or you might prefer to roll your own themes using jQuery ThemeRoller.
Drop down and copy script to paste in <head> section
Script |
Copy Code |
---|---|
<style type="text/css"> .wijmo-wijmenu { background: CornFlowerBlue; border-color: Navy; } .wijmo-wijmenu-text { color: DarkSlateBlue; } .wijmo-wijmenu .wijmo-wijmenu-child { background: PaleTurquoise; border: Black; } .wijmo-wijmenu a.wijmo-wijmenu-link:hover { font-family: Courier New; background: Thistle; border-color: Violet; border-style: dotted; } .wijmo-wijmenu-link { background: White; font-variant: small-caps; font-family: Andale Mono; } </style> |
You can find the CSS selectors available for the widget in the jquery.wijmo.wijmenu.css file in your installation folder.