Archived topic
Resize Off Canvas Menu Logo
13 replies · Started by xlow on August 15, 2021
Hello Support,
according to this topic : https://generatepress.com/forums/topic/logo-on-mobile-3/
.slideout-navigation img.custom-logo {
width: 100px;
}
i am successfully added my logo into the off canvas panel (https://generatepress.com/forums/topic/off-canvas-panel-logo-on-top/)
however i added the above css code into my "Additional CSS" but it's not working in my case.
Hi there,
can you share a link to your site so i can see whats going on?
Hello david, this
thank you for your kind assist.
I am getting an Access Denied message on that URL.
i am sorry, please try again.
Try this CSS:
.custom-logo-link img {
max-width: 100px;
}
and if you want to centre it - then add this CSS:
.custom-logo-link {
text-align: center;
}
Thank you for your input, unfortunately, its not working : https://prnt.sc/1p7t3fy :(
Hi there,
The CSS you added before David's CSS has a format error which makes the CSS below not working.
check the screenshot below, the } should appear after overflow: hidden;.
https://www.screencast.com/t/NxlOjL2FaC2
Let me know :)
Thanks Ying! its working right now! however, it cannot align to center still... and how can i set the margin/padding for the logo
Any chance you can link us to the site in question? So I can see what's going on there.
You can use the private information field.
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Yeah, sure.... this is my site, thank you very much
Hi there,
Can you modify this CSS:
.custom-logo-link {
text-align: center;
}
To this?
.custom-logo-link {
text-align: center;
width: 100%;
}
Let us know how it goes. :D
wow! it works! thanks supports!
No problem. :D