This topic has 16 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp
Hello 8Theme,
i would like to ask how to display at the row with products categories at home page open only the categories,not subcategories.
Hello,
Add Product Categories element from VC editor to your home page.
Regards,
Eva Kemp.
I already have it.
The question is how keep open only categories,not subcategories(see the url site).
Hello,
Your site gives an error http://storage6.static.itmages.com/i/16/0510/h_1462883028_9770015_31cdc460b2.jpeg .
Please check it with your hosting provider.
Regards,
Eva Kemp.
Is ok now.Can you take a look?Thank you
Hello,
Please provide us with FTP and WP Dashboard credentials in private content.
Best regards,
Jack Richardson.
thank you
Hello,
I’ve commented the line 1808 $this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
in wp-content/themes/royal/js/etheme.js file.
Please check categories now.
Best regards,
Jack Richardson.
Thank you,I would like to keep open the main categories(without their subcategories)and if is possible to replace the symbols + –
Hello,
Unfortunately that can’t be done because other categories are added as child categories which are closed as you wanted.
Best regards,
Jack Richardson.
The symbols + – is possible to change them?
Hello,
Those symbols are loading as images. You can edit them via some image editor, the files are wp-content/themes/royal/images/small-minus.png and wp-content/themes/royal/images/small-plus.png.
Best regards,
Jack Richardson.
I would like to keep open just the parent categories(see screenshot).
Hello,
It can’t be done the way you want because these categories http://storage6.static.itmages.com/i/16/0513/h_1463127267_1499036_651ff6afe3.jpeg are children categories and to display them you have to uncomment the code in the file wp-content/themes/royal/js/etheme.js. But in this case all subcategories and sub-sub categories will be shown.
You can add these categories http://storage6.static.itmages.com/i/16/0513/h_1463127267_1499036_651ff6afe3.jpeg as parent categories and add subcategories to them.
Best regards,
Jack Richardson.
this worked fine,until today.
The files is like you told me(images and etheme.js file).Wuy still open again the categories?
Hello,
I’ve cleared cache via FTP.
Please clear browser cache and check the site now.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up