• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 17.07.17, 10:57
  • Opened by: Jiri
  • Closed by: Marek
  • Closed on: 29.08.17, 22:42
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10573 - How to have category menu parent items collapsed?

Hello,

I would like to have category menu in the left column collapsed by initial state (now is displaying all categories expanded and there is no way how to set this behaviour in the back office). How can I do that? Which files should be updated, please?

Please see the attached image about initial state.

Many thanks for Your reply.

Comments

Marek 17 Jul 2017, 12:07

Try to use “Category Tree” module for that

Jiri 18 Jul 2017, 14:37

Where can I get this module, please? It seems that is not available in PS default preinstalled modules.

Jiri 18 Jul 2017, 21:45

I solved adding the:

display:none 

to

.ps_categorytree .category-tree .root_li li div {
  padding-top: 10px;
  display: none;
}

In theme.css

Marek 19 Jul 2017, 14:41

That is good solution, I’ll add it to my to do list