Hi.
How can I increase a padding above and below the logo in the header? The now logo, I have, doesn’t have a padding, so when it’s placed in the header, it doesn’t have any space above and below.
Thank you.
Hi Alex!
Thanks for reaching out to us!
Try adding the following code in the Quick CSS field under the General Styling tab in the theme options:
.logo {
padding-top: 10px;
padding-bottom:10px;
}
Adjust the values as you wish. Let me know if it works for you.
Regards,
Jordan
Thanks for you quick reply. Will try that.
Hi!
Please do so and let us know so we can mark the thread as resolved or assist you further :)
Best regards,
Yigit
It didn’t work.
It pushes logo 10px down, but cuts off the bottom portion at 10px as well.
If I remove line “padding-bottom:10px;”, then it looks like the bottom portion of logo is hiding behind the content. Can I attach an image of what I see?
Can’t provide link to the site since I am working on MAMP
Hi!
Please goto enfold options > header > header layout > header size > custom pixel and change the value to something like 200px or adjust it to suit your design :)
Best regards,
Vinay Kashyap
I tried this before. Doesn’t work. Logo gets increased to fit the entire space.
Even if I decrease logo size, it still will be touching upper border. If I add:
.logo {
padding-top: 10px;
}
Then when I scroll down, bottom portion of logo will be cut by 10px
Hi!
To keep the logo same size and add paddings to the header please try this code in the quick css.
/*Header padding*/
.container_wrap.container_wrap_logo {
padding-top: 50px!important;
padding-bottom: 50px!important;
}
Regards,
Vinay Kashyap
Thank you Vinnie. That worked fine!