Mobile Navigation Issues On A Themis Template-Based Website - Question | JoomShaper

Mobile Navigation Issues On A Themis Template-Based Website

BH

Bernhard Huber

Template 4 months ago

Hello,

I've implemented a one-page website using the Themis template, featuring a smooth scrolling effect via navigation links, achieved through section IDs. This functionality performs excellently on the desktop version. However, I've encountered an issue with the mobile version: the off-canvas menu fails to respond when any menu item is selected. Could you provide insights or solutions for rectifying this issue?

I suggest examining the mobile version of the website for a clearer understanding of the problem. Thank you for your assistance.

1
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 months ago #141442

Hello Bernhard Huber

I have added this JavaScript code to

Template Options -> Custom Code -> Custom JavaScript

jQuery(function($) { 
  $('.offcanvas-inner .menu li').on('click', function() {
    $('body').removeClass('offcanvas-active');
  });
});

Please check your site now.

Best regards

1