Site logo

[Resolved] How to make my logo bigger on mobile screens

Home Forums Support [Resolved] How to make my logo bigger on mobile screens

Home Forums Support How to make my logo bigger on mobile screens

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2552628
    nvc

    Hello,
    I am trying to make my logo bigger on mobile screens. I guess that the developer that i’ve worked with has set some max width or height. But I don’t know what to edit in the CSS in order to increase the size of the logo. Would you please help. Please check my site.
    Thank you in advance!

    #2552747
    David
    Staff
    Customer Support

    Hi there,

    in your Child Theme > styles.css there is this CSS rule:

    @media (max-width: 768px) {
        .navigation-branding img, .site-logo.mobile-header-logo img {
            height: 44px !important;
        }
    }

    Change the height value of that.

    #2553120
    nvc

    Thanks David.
    I did what you said and the problem was solved. You’re awesome. Thank you!
    What is the method to increase the height on desktop screens?
    Regards

    #2553330
    David
    Staff
    Customer Support

    On desktop, adjust the Width in the Customizer > Site Identity.

    #2555587
    nvc

    I don’t have that setting in the Customizer>Site identity. Is there other option? Thanks

    #2555698
    Leo
    Staff
    Customer Support

    The option is not there as you are using the Navigation as Header option:
    https://docs.generatepress.com/article/navigation-as-a-header/

    So the logo size is controlled by the menu item height:
    https://docs.generatepress.com/article/navigation-as-a-header/#basic

    You can also give this CSS a shot to reduce the default 10px top and bottom padding added to the logo image to 5px:

    .navigation-branding img {
        padding: 5px 0;
    }

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

    Let me know if this helps 🙂

    #2556582
    nvc

    Found it and ajust it.
    Thank you very much!

    #2556637
    Leo
    Staff
    Customer Support

    No problem 🙂

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