Collapse Category Menu
-
Good Afternoon!
I’m wondering if anyone can help me with a category menu on the left hand side on my store.
When the page loads, the “Beds” category is automatically open unlike the two below. Is there a way to have the “Beds” category load in closed like the others?
Thanks, Greg.
The page I need help with: [log in to see the link]
-
Hi @opulentbeds
When the page loads, the “Beds” category is automatically open unlike the two below. Is there a way to have the “Beds” category load in closed like the others?
I took a look at your site and was able to see what you were making a reference to.
It appears that this behaviour is not restricted to the
bedscategory alone.If you visit: https://www.opulentbeds.com/product-category/mattresses/ you will see that the other categories remain closed, while the
mattressescategory is open. Same is with thefurniturecategory. You can see this for yourself.So, it appears that this function is coming directly from your theme, or a custom plugin that enforces this behavior. You can see the CSS values dynamically changing in the code upon clicking the
+, and the-values here: https://cld.wthms.co/KMu1GvOne way to fix this would be to write custom JS or jQuery code to overwrite wha the theme/plugin is doing such that the CSS ul class
childrenhas the valuedisplay: none;and the list:cat-item cat-item-40 current-cat cat-parent parent-level0does not have the attributeopened. If you want to get a developer to fix this, we highly recommend contacting one of the services on our Customizations page (https://woocommerce.com/customizations/)Hi @opulentbeds
I just wanted to follow-up with you on this thread; hope you were able to achieve the requirement that you wanted to achieve
I’m marking this thread as
Resolvedas we have not heard back from you in a while. If the problem persists though, feel free to reopen this, we would be happy to look into this for you.All the best!
The topic ‘Collapse Category Menu’ is closed to new replies.