How to make the vertical menu collapsed
-
Hello,
Please check on this page https://harvesthose.com/hose/pvc-discharge-hose/I am creating a vertical product menu on all of the products page so the vistor can easily shift browsing different products.
Problem is this vertical menu expanded all the time as you can see from that page, we will put a lot of products pages in the site, the sidebar will be extreme long if the menu keeps expanded.
We want the menu display a sign of ‘+’ after the parent page title so the visitor knows there’s child product pages under that specific page they clicked, and they are free to choose whether to display the child products pages by click ‘+’ or not. We do not want to expand all the pages which looks extremely stupid if there’s hundreds of products page created.
The existing theme is customify, but i don’t think this is about theme’s problem because i have faced exactly same problem in OceanWP and Astra, this is about the wordpress widget itself.
Please share the extra CSS code if there do have this kind of code, plugin is my last choice.
BTW, i tried the CSS code below shared from another support, which’s not working properly because the child pages title disappeared totally.
.main-navigation li.current-page-parent ul {
display: none;
}I would be very grateful if anyone can help me out.
Thank you in advance.The page I need help with: [log in to see the link]
- The topic ‘How to make the vertical menu collapsed’ is closed to new replies.