Site logo

Archived topic

Add padding under header

5 replies · Started by Math on October 3, 2020

Viewing posts 1–6 of 6

Hi,

When I go to the customization option (Layout > Header > click on mobile) and add padding to bottom of the header, nothing happens. Is this something I have add manually in CSS?

Also, in mobile view the logo is much larger than the original size chosen. Why does it jump sizes?

https://marzproject.com/

Thank you.

When I toggle to the mobile header there isn't any padding applied, so I entered 40px to the bottom, but I don't see any changes.

Also, how do I adjust the logo size in mobile screen? It's jumping up in size.

Hi there,

if you want the logo to be the exact same size on Mobile then add this CSS:

.main-navigation.mobile-header-navigation .site-logo.mobile-header-logo img {
    height: auto;
    max-width: 120px;
}

If you want to add some space below the mobile header - add this:

.main-navigation.mobile-header-navigation {
    margin-bottom: 40px !important;
}

Thank you.

You're welcome

This archived topic is closed to new replies.