• Resolved suncoastorganics

    (@suncoastorganics)


    Hey Guys,

    Do you have any idea why our logo is being enlarged like that? Is is 110 by 110.

    We have cleared the catch, tried it in different browswers, enabled and disabled the child theme.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter suncoastorganics

    (@suncoastorganics)

    When we remove the 110 px by 110 px logo the page goes right back to normal. How is a 110 px logo adding that much height?

    We have done some more testing and when we use a 470 by 110 px it works. You are unable to use a smaller square logo with this theme?

    We tested it with a 120 by 110 px and it shrunk it down a bit. No one else has just wanted to use a small square logo with this theme?

    Hi @suncoastorganics

    Storefront’s header area is optimized for logos that are larger horizontally, but this can be adjusted with some custom CSS code.
    Please navigate to Appearance → Customize → Additional CSS and add the following piece of code:

    /* Adjust logo size | www.ads-software.com/support/?p=15922002 */
    @media(min-width:768px){
    .site-header .site-branding img {max-width:110px !important;}
    }

    You can adjust the value 110px on the code above according to your preferred size.

    Regards

    Thread Starter suncoastorganics

    (@suncoastorganics)

    Hey @hegenberg,

    Thanks. Unfortunately, as I suspected, when you resize the browser it pops back up again. It would be nice to be able to use a square logo. Allot of logos are square or round.

    Would anyone know of a CSS code that can handle all the screen sizes?

    The theme looks good with a smaller round logo on all screen sizes.

    Hi @suncoastorganics

    To apply the rule to all screen sizes, simply remove the media query from the code:

    /* Adjust logo size | www.ads-software.com/support/?p=15922002 */
    .site-header .site-branding img {max-width:110px !important;}

    Hope that helps!

    Thread Starter suncoastorganics

    (@suncoastorganics)

    Hey @hegenberg,

    It is still popping back when you resize it to almost the size of a large smart phone.

    There is something else. Did you notice the blue area around the logo when you click on it? That is never the size of the image. If that box could be somehow adjusted to 110 max it might keep the image from popping and look allot better if someone clicked on it.

    If I remove class=”custom-logo-link” It works but I am not sure how to apply that in CSS.

    Been awhile since I have done CSS using inspect.

    Thanks

    Mirko P.

    (@rainfallnixfig)

    Hi @suncoastorganics,

    It is still popping back when you resize it to almost the size of a large smart phone.

    I’m currently unable to test what you’re reporting on this thread as the logo is 402 x 110px and looks fine on your live site’s header – https://snipboard.io/XUq49Y.jpg.

    If you could spin up a staging site and show us a screenshot to back up what you mean we’ll have more context to assist you.

    Best regards.

    Hi there @suncoastorganics,

    Hope the image now displays as expected on all devices. We haven’t heard back from you for a while, so I’m going to mark this post as resolved now. If you need any further help here, please let us know. Or, if you need additional help with the Storefront theme, please start a new thread and we’ll be able to help you out there.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Website Logo stretched’ is closed to new replies.