• Closed by: Fred
  • Closed on: 21.07.20, 15:36
  • Reason: Closed
  • Comment: Glad to help!

Ticket #18521 - Subcategories Sidebar - Expanding + style

Hello, wonderful work. This theme is very intuitive and easy to use, edit and looks amazing.

We are currently trying to achieve this sidebar layout and functionality. (see attachment)

Got any idea if it is possiable in the prestashop modules?

The idea:
User clicks on any category and sees:

Category 1
Category 2
Category 3
Category 4

User clicks on category 1 and sees:

Category 1
- Sub 1
- Sub 2
- Sub 3
Category 2
Category 3
Category 4

User then clicks on Sub 1 in Category 1 and sees:

Category 1
- Sub 1
– Under sub 1
– Under sub 2
– Under sub 3
- Sub 2
- Sub 3
Category 2
Category 3
Category 4

User then clicks on category 2 and sees:

Category 1
Category 2
- Sub 1
- Sub 2
- Sub 3
Category 3
Category 4

and so on..

This gives the user a wonderful overview and power to navigate the menu.

Attachments:

Skærmbillede 2020-07-02 kl. 1... (63.4 KiB)

Comments

Oliver kristensen 02 Jul 2020, 13:27

The undersub (1,2,3) part is not valid and should not be taken into consideration.

Best regards,

Fred 03 Jul 2020, 09:21

ok

Oliver kristensen 03 Jul 2020, 10:42

Also, is there a way to make the sidebar elements always expanded?

Best regards,
Oliver Kristensen

Fred 06 Jul 2020, 10:47

Please give me a link where I can see the sidebar

Oliver kristensen 09 Jul 2020, 02:22

Sorry for the late answer.
https://dreamdirty.se/3-kvinder

Here you can see the collapsed category block in sidebar.

Fred 09 Jul 2020, 11:48

Try this CSS

.root_li ul li div {display:block}

Don’t forget about a cache if the code will not be applied

Oliver kristensen 21 Jul 2020, 09:54

The code worked for expanding the categories.

Is the native ps module able to expand the selected category only? (see attached picture).

Best regards

Attachments:

Skærmbillede 2020-07-21 kl. 0... (49.3 KiB)
Fred 21 Jul 2020, 10:29

as I know there is no such option

Oliver kristensen 21 Jul 2020, 14:40

Cheers, we haven’t found an option ether.

Thanks for the help Fred.

Best regards,