Remove menù from top and add a vertical menù in a module position

GK User
Mon Apr 04, 2011 1:20 pm
I have removed the orizontal menù commenting the line
Code: Select all
<?php $this->loadBlock('nav'); ?>
in default.php

Now i would like to insert a vertical menù in a module position so i create a new module->menù->then i select the main menu but the style isn't the same.

In the orizontal menù the structure is
Code: Select all
<div id="gkMenu">
   <div id="gkDropMain">
      <ul>
         <li id="gkDropMain101" class="menu-item0 active first-item">
            <a href=""  class="menu-item0 active first-item" id="menu101" title="Home"></a>
[...]

in the module menù the structure is
Code: Select all
<div id="gkHeaderModule1">
<div class="box"><div><div class="content">
   <ul class="menugkMenu" id="gkMenu">
      <li id="item-101" class="current active">
         <a href="/" >Home</a>
[...]


it is possible to load that menù in vertical inside the module or setting the right css property to have the same style of the orizontal one?

Thanks
User avatar
Senior Boarder

teitbite
Tue Apr 05, 2011 1:03 am
Hi

Template is using Megamenu with style for horizontal display only. You need to create that style Yourself because it's the change to the template which is considered as customization which we do not support.
User avatar
Moderator

GK User
Tue Apr 05, 2011 2:31 pm
I solved duplicating some CSS styles and adding
Code: Select all
div.gk-menuVert > ul.level0 > li {
    float: none;
    width: auto;
}

to make the elements in column.

Thanks
User avatar
Senior Boarder

teitbite
Thu Apr 07, 2011 9:19 am
Hi

And this keept all the colors, submenus, etc ? Amazing. Really great thought.
User avatar
Moderator


cron