-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0
We have just updated a Hikashop site of ours to be responsive. Currently, we have a test version of the site on our development server (URL supplied).
The site adjusts according to the display size and introduces a mobile (burger-style) menu block when the display size reaches mobile proportions. To switch to the mobile menu we use a small block of Javascript in the index.php template to enable the mobile menu at which point the regular menu is hidden. We have used this same block of code on several sites (non-Hikashop) without an issue, but on this Hikashop site when the mobile menu appears the menu button can be clicked but nothing happens. Something is causing it to not work.
This is the code which is placed in the <head> section of the index.php template:
<script>
$(document).ready(function() {
$(".nav-button").click(function() {
$(".nav-button,.menu_mainNav").toggleClass("open");
});
});
</script>
In Hikashop's configuration for Display we have "Use Bootstrap Design" turned off and "Use Chosen Library" turned off as well.
Please can you provide some help as to what in Hikashop will be blocking this script from working correctly as we have used it successfully in non-Hikashop sites.
Thanks in advance.
PS. I hope this is added to the right forum section as I couldn't find one relating to display or menu issues