Archived topic
Unwanted left Padding or margin on site title on mobile
6 replies · Started by Ian on September 5, 2021
Not sure where it's coming from?
Hi Ian,
I'm not exactly sure which element are you pertaining to.
Can you provide a screenshot of the page with an indication of what element has the unwanted padding? Is it the "IAN MACKENZIE" element on the hero section?
The site logo svg in the header (signature), left of the nav on mobile. Paddings not right.
You have this custom CSS on your site.
/* Mobile Navigation Breakpoint */
@media (max-width: 922px) {
.site-logo {
width: 140px;
margin: 0 auto 32px auto!important;
display: block;
}
....
The unwanted spacing is coming from the 32px margin. :D
Thanks again Elvin.
All that CSS in the additional css area, that is not put there by GP and Generate Blocks, is it?
I've removed all that extra css. Saved me a few more headaches. Thanks Elvin.
Nice one. No problem. :D