Fixed header logo container

Hello,

I am trying to create a fixed container for the header logo but it is not working. Currently, the dimensions of the header logo takes the original dimensions of the uploaded logo. Is there a way to create a fixed container so that if I upload a large logo, the logo is automatically resized to fit the specified dimensions?

For example, I would like the header logo to be fixed at 107x60.

Thanks in advance!

Hi @imwalkingworlds,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.

Admin Area -> Appearance -> Customize -> Additional CSS


#logo img {
    max-width: 107px;
    max-height: 60px;
}

Best Regards,
Movin