Site logo

Archived topic

secondary menu breakpoint

3 replies · Started by Marcellus on December 3, 2018

Viewing posts 1–4 of 4

Hi,

I have used one of your earlier posts to change the breakpoint for the mobile menu. This code to be exact:

@media (max-width: 1024px) {
.main-navigation .menu-toggle,
.main-navigation .mobile-bar-items,
.sidebar-nav-mobile:not(#sticky-placeholder) {
display: block;
}

.main-navigation ul,
.gen-sidebar-nav {
display: none;
}

[class*="nav-float-"] .site-header .inside-header > * {
float: none;
clear: both;
}
}

But now i want the topmenu (secondary menu) to have the same breakpoint as the main menu. Can you help me with that?

Thanks!

Hi there,

Try replacing .main-navigation with .secondary-navigation in that CSS.

Let me know :)

Hi Tom,

It worked, thanks!

Best regards

You're welcome :)

This archived topic is closed to new replies.