Close

Adding submenu to an item

xtsiliv
12 years ago
#1797 Quote
Avatar
  • 12
Hi!
according to this topic:
http://www.nop-templates.com/boards/topic/242/how-to-add-additional-items-to-menu

i try to add in MegaMenu.cshtml submenu to an item that i create, but my submenu  displays as a list item and is not hidden and does not show as drop down on hover as the other section does on hover. Can somebody help me with the code please?

Thanks!
Boyko
12 years ago
#1798 Quote
Avatar
  • 1570
xtsiliv wrote:
Hi!
according to this topic:
http://www.nop-templates.com/boards/topic/242/how-to-add-additional-items-to-menu

i try to add in MegaMenu.cshtml submenu to an item that i create, but my submenu  displays as a list item and is not hidden and does not show as drop down on hover as the other section does on hover. Can somebody help me with the code please?

Thanks!


Hi xtsiliv,

You have probably missed to add the additional css classes to your submenu.
http://www.nop-templates.com/boards/topic/242/how-to-add-additional-items-to-menu#1456

This is the structure of a dropdown menu item:
<li><a href="#">Text</a>
        <div class="dropdown fullWidth">
           Submenu text here
         </div>
</li>

The div with the dropdown class is a must while the fullWidth class is optional.

Hope this helps and Merry Christmas!
Nop-Templates Support Team
Regards,
Nop-Templates.com Team
xtsiliv
11 years ago
#1803 Quote
Avatar
  • 12
Boyko wrote:
Hi!
according to this topic:
http://www.nop-templates.com/boards/topic/242/how-to-add-additional-items-to-menu

i try to add in MegaMenu.cshtml submenu to an item that i create, but my submenu  displays as a list item and is not hidden and does not show as drop down on hover as the other section does on hover. Can somebody help me with the code please?

Thanks!

Hi xtsiliv,

You have probably missed to add the additional css classes to your submenu.
http://www.nop-templates.com/boards/topic/242/how-to-add-additional-items-to-menu#1456

This is the structure of a dropdown menu item:
<li><a href="#">Text</a>
        <div class="dropdown fullWidth">
           Submenu text here
         </div>
</li>

The div with the dropdown class is a must while the fullWidth class is optional.

Hope this helps and Merry Christmas!
Nop-Templates Support Team



You are really helpful !!
Thank you !!
Merry Christmas!!!! and a Happy New Year!!!