[Resolved] secondary menu breakpoint

Home Forums Support [Resolved] secondary menu breakpoint

Home Forums Support secondary menu breakpoint

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #746869
    Marcellus

    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!

    #746920
    Tom
    Lead Developer
    Lead Developer

    Hi there,

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

    Let me know ๐Ÿ™‚

    #747453
    Marcellus

    Hi Tom,

    It worked, thanks!

    Best regards

    #747896
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.