sub-menu-container open by default

3 replies · opened Feb 4, 2021

NnichtsooftFeb 4, 2021

Hi there!
Is there any posibility to have a sub-menu open by default like adding a class or such?
I only have a few nav-points and there's no need to click the sub-menu-trigger.

I tried to add .d-block but that causes glitches on resizing the window.

SSemicolon WebSTAFFFeb 6, 2021

Hello,

Thanks for your Valuable Patience and Apologies for the Delays!

Consider using the following CSS Code and let us know if this works for you:
[ch_pre type="css"]@media (max-width: 991.98px) {
.sub-menu-container {
display: block !important;
height: auto !important;
}
}[/ch_pre]

Hope this Helps!

Meanwhile, do let us know if we can help you with anything else or if you find any further issues.

NnichtsooftFeb 18, 2021

Nope that doesn't work, as the sub-menu-container won't be closeable with that properties!

SSemicolon WebSTAFFFeb 18, 2021

Hello,

Sub-Menus that are open by default but closable are currently not supported out of the box and will require customizations. We will surely try adding this in Our Future Updates and will send you a Notification once this is available.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard