Change Header and Footer Logo Size
Our default size for logo in header and footer is 140x140px but using some CSS code it is displayed 70x70px logo. Image is 140x140px but it is displaying 70x70px.
Why?
On this way, our logo is retina ready - it will look perfect on any device with any resolution.
How to change Header and Footer logo size?
To change image size for Header and Footer logo, in:
Dashboard > Appearance > Customize > Additional CSS
add code like this:
.header-logo img { width: auto; height: auto; } .footer-logo { width: auto; height: auto; }
This code will use the original sizes for Header and for Footer images. But, after this code, your header logo (maybe) is not center properly with "Menu" lines. You can use some more CSS code to move it Up/Down to make it perfect, like this:
.header-logo img { width: auto; height: auto; margin-top: -20px; } .footer-logo { width: auto; height: auto; }
*change value for "margin-top"
But with this code your logo will not be Retina Ready. If is not important for you to be Retina Ready, you are done. Don't read the boring text below.
I want bigger logo than 70x70px and to be Retina Ready!
Lets say, you need a Header logo which will be displayed in 200x150px dimension and Footer logo which will be displayed in 100x100px. That mean, you will need to create a Header logo which is 400x300px and a Footer logo 200x200px and in:
Dashboard > Appearance > Customize > Additional CSS
add code like this:
.header-logo img { width: 200px; height: 150px; margin-top: -20px; } .footer-logo { width: 100px; height: 100px; }
*change value for "margin-top"
Now, your Header (200x150px) and Footer (100x100px) logo are Retina Ready.
Different Logo size on smaller resolutions
In case that you need to use different size for logo for smaller resolutions, you can add code like this in
Dashboard > Appearance > Customize > Additional CSS:
@media screen and (max-width: 1020px){ .header-logo img { width: 65px; height: 50px; } .footer-logo{ width: 65px; height: 50px; } }
In "translation" this code say - when the screen width is lower then 1020px, use other dimensions for logo (65x50px) and for footer logo.
You can use some other "break point", let say 768px instant of 1020px and then to make your logo smaller.