offcanvas mobile menu not working

Hi,

Please see following URL: http://test.riit.nl/joomlart/index.php/. We installed the theme using the quickstart and the offcanvas menu is not working.

How can we fix this?

Attachment 30360

10 answers

Profile photo of Mohammed Khan 0.00 $tone April 15, 2014
Public

I am having the same problem but unfortunately the updated off_canvas.js file did not fix the issue. Any suggestions?

Edit: It’s working now. It appears you must use the Menu plugin with JM Haga to get the off canvas menu links to display.

#3
Profile photo of Seoki Lee 1510.00 $tone April 16, 2014
Public

Edit: It’s working now. It appears you must use the Menu plugin with JM Haga to get the off canvas menu links to display.

You sorted this out, didn’t you? Should you need assistance, please help to provide with more details, I will check further.

#4
Profile photo of Seoki Lee 1510.00 $tone April 23, 2014
Public

You are right, our off canvas works with mega menu. If you want off canvas to show another menu which is not our mega menu, you can edit the file off-canvas.js at this \skin\frontend\defaulttheme_name\js path.

In this file you can see we append megamenu to off canvas, please replace id in this code

Code:

$("#jm-megamenu ul.level0").clone().appendTo($nav);

With id of your menu, eg:

Code:

$("#id-menu ui li").clone().appendTo($nav);

Hope this helps.

#6
Profile photo of vanderex 500.00 $tone April 15, 2015
Public

actually just commenting 
 

// $searchbarHtml = $(“#search_mini_form”).parent().html();
// $searchbarHtml = $searchbarHtml.replace(‘search_mini_form’, ‘search_mini_form_offcanvas’);
// $searchbarHtml = $searchbarHtml.replace(‘id=”search”‘,’id=”search_offcanvas”‘).replace(‘search_autocomplete’,’search_autocomplete_offcanvas’);
// $nav.html($searchbarHtml);
 
removed the crap and left menus intact

#8

Please login or Register to Submit Answer

Written By

Comments