This topic has 8 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Jack Richardson
Hi there,
Is there a CSS code to close the product categories menu when entering the site? Or do I have to modify the etheme.js file? Currently they are all open when you enter the site when they should be closed.
Thanks for your help
Hello,
In this case you need to comment out the following code in etheme.js file on line 1819
$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Regards,
Robert Hall
Hi there.
Thank you both for your help however, both of them already exist. Should either one of those codes be modified?
Thanks again
Hello,
You just need comment the code that mentioned in the previous post.
Best regards,
Jack Richardson.
Hi Jack,
Thanks for the response.
I did comment out the code. When I went to save, I got a notification that there was nothing to save.
This is the code currently in line 1819:
$this.find(‘>li’).first().find(‘.open-this’).html(minusIcon).parent().addClass(‘opened’).find(‘ul.children’).show();
As you can see, they are identical.
Look forward to hearing from you.
Hello,
Did you comment it?
Try to comment the code or remove it.
Best regards,
Jack Richardson.
Thanks Jack – code removed and all OK.
Was a little worried removing it but it works.
Appreciate your (and everyone else) help and patience.
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘Product Categories Menu’' has been successfully resolved, and the topic is now closed for further responses