Site logo

Archived topic

Mobile menu sub heading not long enough

5 replies · Started by Alex on June 7, 2021

Viewing posts 1–6 of 6

Hi

I have been looking through a lot of previous topics on this, and have tried most suggestions with code in the CSS but nothing seems to have worked.

The problem:
On the mobile menu, when I open the heading 'locations' I can only see the first two or three subheading listings depending on the size of the device. The 'Navigation Logo Placement' is set at both sticky and static.

Can you help?
Regard
Alex

Hi David,

Thanks for this. Is there a way of making it slightly longer, as we are missing the last heading on the menu?

Thanks
Alex

Try changing the CSS to this:

#mobile-header.toggled .main-nav > ul {
    max-height: calc(100vh - 160px);
    overflow-y: scroll;
    padding-bottom: 60px;
}

Its adjust the height to take into account the taller header element and the padding added to the bottom

David,

Worked like a treat.

You are a star!!!

Thanks
Alex

So glad to hear that!

This archived topic is closed to new replies.