Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request for ideas: modify collapsed menus in skel-layers.js #200

Open
chk1xn opened this issue Jul 30, 2023 · 0 comments
Open

request for ideas: modify collapsed menus in skel-layers.js #200

chk1xn opened this issue Jul 30, 2023 · 0 comments

Comments

@chk1xn
Copy link

chk1xn commented Jul 30, 2023

Hi,

as I'm still a very happy user of the skel template, I'd like to ask for some ideas/hints about my latest endeavour...

My site's content has grown over the years and so did the menus and sub-menus and sometimes even sub-sub-menus to navigate thru. In large screen mode, dropotron works perfectly. It collapses all sub levels of the menus and only shows/expands them when I hover over.

However on small screens the navigation menus are transformed to be shown under the "burger menu" which is (I guess) handled by skel-layers.js.

This particular menu list has all elements expanded which makes navigation a bit hard when there's many menu items.
So I'm looking for code how to have those elemenst collapsed by default and only expanded once I tip/click on an item.

Would anyone have some ideas/hints for me please? Many thanks.

Cheers,
Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant