Hi,
I’ve added the code:
(function($){
$(window).on(‘load’, function(){
$(’#x-btn-navbar’).trigger(‘click’);
});
})(jQuery);
But the responsive menu isn’t auto expanding.
cheers,
Toan
Hi,
I’ve added the code:
(function($){
$(window).on(‘load’, function(){
$(’#x-btn-navbar’).trigger(‘click’);
});
})(jQuery);
But the responsive menu isn’t auto expanding.
cheers,
Toan
Hi Toan,
Thank you for writing in, please update your JS code to this:
(function($){
$(window).on('load', function(){
$('.x-btn-navbar').trigger('click touch');
});
})(jQuery);
Please keep in mind that we do not support customization like this, further customization would ultimately be your responsibility to take it from here.
Cheers!
Hi Friech,
I have added the code, however the menu isn’t auto expanding. I still need to press on the burger icon to expand the menu.
Cheers,
Toan
Hi Toan,
You can try this code instead.
jQuery(function($) {
$('.x-btn-navbar').click();
});
Hope that helps
Hi Paul,
That’d worked!!
Thank you!
Glad we could help,
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.