Site logo

Archived topic

Nav Menu on Tablet on 2 Lines

7 replies · Started by Dave on March 7, 2021

Viewing posts 1–8 of 8

I am having an issue on my actual tablet. When I load in landscape mode the nav menu breaks into 2 lines. Is there a way to make sure this doesn't happen?

Chers,

Dave

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

Sure. I have put it in the private info.

Cheers,

Dave

Hi there,

you need to make a little more room for the search icon.
Couple of options:

1. Reduce the menu font size in Customizer > Typography > Primary Navigation.
2. Reduce the Menu Item Width in Customizer > Layout > Primary Navigation.

Thanks David.
Is it possible to do this just on the tablet screen size and not mobile or desktop?

cheers,

Dave

Try using this CSS:

@media(max-width: 1096px) and (min-width: 1025px) {
  .main-navigation .main-nav ul li a {
    padding-left: 15px;
    padding-right: 15px;
  }
}

That worked. Thanks David

You're welcome

This archived topic is closed to new replies.