Site logo

Archived topic

MOBILE BREAKPOINT - SECONDARY MENU

5 replies · Started by josepdlh on September 8, 2021

Viewing posts 1–6 of 6

Hi,

I want to deactivate the breakpoint on the secondary menu and show the full menu options on the mobile.

¿Could you help me?

Hi,

Thanks for the help.

It worked but I have two problems:

1- I Can't change the colors of the menu (background, font...)

2- The Menu Item Width doesn't work on mobile.

1- I Can’t change the colors of the menu (background, font…)

You are using Header element to merge the header with content, have you set any navigation color in the Header element?

You can find the the header element at appearance > elements.

2- The Menu Item Width doesn’t work on mobile.

Can you try remove this CSS:

.secondary-navigation .menu-toggle {
      display: none;
}

@media(max-width: 768px) {
    .secondary-navigation {
        text-align: center !important;
    }
    .secondary-navigation ul {
        display: block;
    }
    .secondary-navigation .sf-menu>li {
        float: none;
        display: inline-block !important;
    }
}

Add CSS instead:

@media (max-width: 768px) {
.secondary-nav-aligned-center .secondary-navigation .main-nav>ul {
    justify-content: space-around;
}
}

And check if you set a proper menu item height at customizer > layout > secondary navigation.

Let me know if you need further assistance :)

Thanks!

You are welcome :)

This archived topic is closed to new replies.