I am trying to implement a mega menu into a sparkpay store. The menu is dynamic. here is what the menu code looks like.
html:
<ul class="nav navbar-nav">
<li>
<div class="affix-logo">
<a href="/" class="logo_2">
<img src="/images/logo.png">
</a>
</div>
</li>
<ac:layoutarea id="Item">
<ac:visibilityarea id="phDDLink">
<li class="dropdown">
<a href="$$HREF$$" target="$$TARGET$$" data-toggle="">$$TEXT$$</a>
<ac:visibilityarea id="phSubMenu">
<ul class="dropdown-menu">$$SUBMENU$$</ul>
</ac:visibilityarea>
</li>
</ac:visibilityarea>
<ac:visibilityarea id="phNoDDLink">
<li>
<a href="$$HREF$$" target="$$TARGET$$">$$TEXT$$</a>
</li>
</ac:visibilityarea>
</ac:layoutarea>
</ul>
I have overwritten that block and added a menu that isn't dynamic. It is too big and very inefficient. The mega menu is essentially this codepen: https://codepen.io/iamgonge/pen/QpOgZB. The menu uses both five and four column layouts. I'm a intern and I'm trying to make a good impression. My current solution kind of sucks. I would like to surprise my boss with a dynamically filled mega menu, I just don't know where to start.