This topic has 10 replies, 4 voices, and was last updated 10 years, 4 months ago ago by Jack Richardson
Hello,
please tell me how to disable the second Subcategory in the navigation on the left side.
I dont want that the text “SPZ” is shown until you klick on the subcategory in the navigation.
Many thanks
Hello,
Your site is under maintenance mode, so we’re unable to view it. Please provide us with wp-admin panel in Private Content.
Regards,
Eva Kemp.
OH sorry… now please retry
Hello,
To close the first category in the sidebar you need edit the file wp-content/themes/idstore/js/script.js. Find the code jQuery('.categories-group.has-subnav:first').addClass('opened').find('ul').show();
(line 307) and comment it.
Regards,
Eva Kemp.
Hi Eva
sorry but that doesn’t solve it… I want that the 2 subcategory is not displayed.
INDUSTRIE
-Keilriemen
–optibelt SK
—SPZ (this should not be shown in the nav)
Regards,
Tobi
Hello,
Try add this code to custom.css file
.product-categories .cat-item-34 {
display:none;
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Hello,
Fist of all i wanna say sorry for my bad description.
But I just found it by myselve 🙂
I comment out line 307 in idstore\js\script.js
// jQuery(‘.categories-group.has-subnav:first’).addClass(‘opened’).find(‘ul’).show();
I copied to my custom css:
.wpsc_categories li > ul > li > ul{
display:none;
}
So no category is opend when visiting my shop. When i click on any category, only the second category level is shown.
Here a short example
You have a lot of categories and subcategories
I wanna only show Category A and Categorie AA in my Navigaion, otherwiese it will confuse my customers. When i click on Categorie AA i see the other categories.
I hope that clarify my situation a bit more.
Attached 2 pictures.
Before:
After:
Best Regards
Tobi
Hello,
It requires additional customization and is a paid service.
Regards,
Jack Richardson
Hi Jack,
thanks for info.
You’re welcome!
Regards,
Jack Richardson
The issue related to '‘Second Subcategory’' has been successfully resolved, and the topic is now closed for further responses