Mobile header optimization

Hi! I’d like to have the header set to different height in mobile view, and remove all that empty space under the logo… How can I do it? I’m using superfly menu for the mobile, if that has any importance.

Hey Minna,

I checked the site in your screenshot and it’s actually in under construction mode. Regretfully, if we could see the page, we won’t be able to determine what is causing the space.

Please disable the under construction mode or give us WordPress admin access in a Secure Note.

Thanks.

You can see the website here https://horseriding-holidays-andalucia.com/

Hello Minna,

The extra space in the menu area is caused by this code you have added in the Global CSS:

.x-navbar-inner {
    min-height: 40px;
}

What you can do is to write a media query that targets mobile sizes specifically and set the min-height to 0 instead of 40px.

The code should look something like:

@media (max-width: 480px) {
     .x-navbar-inner {
         min-height: 0;
     }
}

Hope this helps you get started.

Thanks so much, that worked like a charm! :pray:

You’re most welcome, Minna.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.