Archived topic
Primary navigation - Logo
3 replies · Started by ammgbr on October 9, 2021
Viewing posts 1–4 of 4
How can I have no margin around my logo so that there is no black outline?
Hi there,
you can remove the spacing using this CSS:
.main-navigation .navigation-branding,
.main-navigation .navigation-branding img {
padding: 0;
margin-left: 0 !important;
}
And if you want i apply that to mobile as well, then change it to:
.main-navigation .navigation-branding,
.main-navigation .navigation-branding img,
.mobile-header-navigation .site-logo,
.mobile-header-navigation .site-logo img {
padding: 0 !important;
margin-left: 0 !important;
}
Many thanks, that worked
Glad to hear that
This archived topic is closed to new replies.