Post by iPodik » Thu Jun 06, 2019 5:13 pm

Tell me what can be trabla, does not display all menu items on the main menu, but displays when scrolling in a sticky menu.

Image

here it appears as needed.

Image

but the code that separates them in the menu of the line.

Code: Select all

* Wrap the menu items
*/
$(document).ready(function () {
    var col_count = 7;
    var $c = $('.megamenu.none');
    while($c.children('li:not(.wrap)').length){
        $c.children('li:not(.wrap):lt('+col_count+')').wrapAll('<li class="wrap"><ul></ul></li>');
    }
    $('.megamenu-wrapper').css('opacity', '1');

    setInterval(function () {
        if(!$("select").parents(".select").length){
            $("select").wrap("<div class='select'></div>")
        }
    },10)
});

Newbie

Posts

Joined
Thu Jun 06, 2019 5:09 pm

Post by straightlight » Tue Jul 09, 2019 11:21 pm

Contact the extension developer to resolve this issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 3 guests