This topic has 4 replies, 3 voices, and was last updated 7 years, 9 months ago ago by Eva Kemp
Hey, I was wondering if we can switch the product categories and the filter by menus. Also, where do I edit the “filter by” title?
If we can not switch those two menus, I would like to have the menu stay closed while on the product page. The side bar menu with the product categories looks really bad…I have some subcategories and it just isn’t very distinguishable….is there a way to edit this look and clean it up at bit?
Hello,
Please, see screenshot http://prntscr.com/e5yzku
To close first category you need edit the wp-content/themes/royal/js/etheme.js file. Find and comment out line 1808
$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Also, we recommend you to make all changes in the Child Theme.
https://codex.wordpress.org/Child_Themes
If you’re using the Child Theme then you’ll not lose your changes after theme update.
Regards,
Rose Tyler.
Awesome!
Thank you for showing me that info for the filters!!
I am doing work to my product list, so I will try that code as soon as I get that process finished.
Thanks again for all your help!!
Hello,
You’re welcome.
Regards,
Eva Kemp.
Tagged: category, product, themes, woocommerce, wordpress
The issue related to '‘Product Category Pages’' has been successfully resolved, and the topic is now closed for further responses