This topic has 5 replies, 3 voices, and was last updated 10 years, 3 months ago ago by Robert Hall
I’ve posted about this before in the forum and in the comments section.
Unfortunately, each time the Legenda theme is updated, I run into the same issue and the protocol to correct the issue changes…
Please review the attached screenshot carefully so this next part makes sense. (Thanks.)
In past, I was given a snippet of code and told to comment it out in the js/etheme.js file. That has corrected the issue in past.
After updating to Legenda 2.3 I found the js/etheme.js file but the code has changed. Can you please tell me what to comment out in order to correct this? And is there a way to permanently correct this without having to edit this file every time? I can’t imagine other theme users want the first category to automatically toggle.
Thanks in advanced for your help.
Hello,
Previously you were provided with the following reply:
To close first category, edit wp-content/themes/legenda/js/etheme.js file. Find and comment out line 1389
etCats.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
We recommend you to make changes in a child theme to avoid losing modifications after the theme update.
Regards,
Eva Kemp.
Thank you Eva. You’re always so helpful! If this info is already out there, please accept my apologies. I did a search to find all the places we had contacted on this, but must have missed the latest and greatest.
Thanks again!
I’ve set up a child theme and activated it. I set up a folder called js within the child directory and included the etheme.js file, but it didn’t work. So, I just went ahead and made the change on the parent theme.
Anyway, thanks for your help.
Hello,
You’re welcome!
But in the next time we recommend you to make backup file and after that make changes in parent theme.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up