Disable always open

Im using the side bar menu and by default the top level menu items are collapsed, but when you click on one item it opens it and all children. Where there are lots of children it gets very hard to read.

It seems that they all have the alwaysopen class. is there a hugo setting where I can turn this off, so it will keep all children menu items collapsed by default?

welcome to the forum.

that’s not within Hugo core. It is part of the Theme you use. so no way to help with that without knowing that. and how your config looks like.

usual the Themes also have some documentation … check it

p.s. a must read and follow is Requesting Help

1 Like