mega-menu
heading
, title
<nav class="navigation"> <ul> <li><a href="../../../">Home</a></li> <li><a href="../../../demos">Demos</a> <ul class="mega-menu row"> <li class="span-4"> <h3 class="mega-menu_heading heading">Homepages</h3> <ul class="list-arrow"> <li><a href="../../../">Homepage 1</a></li> <li><a href="../../../">Homepage 2</a></li> <li><a href="../../../">Homepage 3</a></li> ... </ul> </li> <li class="span-4"> ... </li> <li class="span-4"> ... </li> </ul> </li> </ul> </nav>
The Mega Menu can be customized using the following options:
Property Name | Default Value | Description |
---|---|---|
output-JSON |
true |
This allows the config to be accessed in the JavaScript. |
background |
color('greyscale', 'grey-1') |
The mega-meni background. |
bottom-border |
0.6em solid color('brand', 'primary') |
The mega-menu-s bottom border. |
link-hover-color |
color('brand', 'primary') |
The color for links when hovered. |
title-color |
lighten(color('greyscale', 'grey-4'), 15%) |
The text color for the title component. |
To change one of the above values, pass your new value(s) to the mega-menu()
mixin in your theme file (e.g. assets/themes/Kayzen/_kayzen.scss).
@include mega-menu(( 'bottom-border' : none, 'title-color' : black ));