Site logo

[Resolved] How to decrease logo size on mobile devices?

Home Forums Support [Resolved] How to decrease logo size on mobile devices?

Home Forums Support How to decrease logo size on mobile devices?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2519149
    Myles

    I’m trying to do a couple of things when it comes to my logo on mobile devices.

    Currently, it looks like this:

    Mobile Screenshot

    First, how do I adjust the size of the mobile logo without affecting the size of the banner? I’ve been fiddling with the padding in customizer, but it also affects the banner size.

    Second, there is a red arrow in the screenshot. How do I decrease the space that is currently there? I don’t see an option/setting for this.

    Thanks!

    #2519160
    Ying
    Staff
    Customer Support

    Hi Myles,

    Can you link us to your site?

    #2519161
    Myles
    #2519168
    Ying
    Staff
    Customer Support

    Try this CSS for the logo size and the space:

    @media(max-width: 768px) { 
        .site-header .header-image.is-logo-image {
            width: 150px;
        }
        .site-header .header-widget {
            margin-top: 0;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #2519186
    Myles

    Thanks! That worked great!

    #2519188
    Ying
    Staff
    Customer Support

    No Problem, glad to help 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.