O
O
opennoobdev662021-11-03 19:56:33
opencart
opennoobdev66, 2021-11-03 19:56:33

After the transfer, the mega menu does not work, on opencart 3 what could be the problem?

Good afternoon. There is a site https://www.statusdoors.com/ . Transferred opencart from 2 to 3, after the transfer the mega menu does not work. When you hover over the menu link, the catalog should drop out a mega menu, I connected a script that worked on version 2. I googled and didn't find anything, what could be the reason?
script code

$('.header-menu__item.dropdown').hover(function(){
    if($(this).children('.sub-menu__inner').is(':visible')){
      $(this).children('.sub-menu__inner').addClass('sub-menu__inner_opacity');
    }
    $(this).children('.sub-menu__inner').fadeIn();
  },
  function(){
    $(this).children('.sub-menu__inner').delay(333).removeClass('sub-menu__inner_opacity').fadeOut();
  }
);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question