var ThemeOptions = { box_wide: getConfig('general_section/layout/box_wide') ?>, rtl_layout: getConfig('general_section/layout/enable_rtl') ?>, sticky_header: getConfig('general_section/header/sticky_header') ?> }; if(navigator.userAgent.match(/iPhone|iPod|iPhone Simulator|iPod Simulator/i) !== null){ document.addEventListener("DOMContentLoaded", function(event) { document.body.classList.add('iMenu'); }); }

1 Answer 1


It's not okay to remove that script, it can cause the menu not to work as expected due to that script adding iMenu class to the body class.

  • If this answer works as your expected, please mark it as accepted. That indicates your issue is solved and makes it easier for others with the same issue to find a verified answer.
    – Tu Van
    Nov 9, 2022 at 22:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.