Skip to main content
Question

Remove default margin on mobile

  • February 26, 2026
  • 1 reply
  • 8 views

  • Contributor I

Hi I can’t figure this out - how do I remove the default margin in the mobile version of the header?

it’s gone on the desktop but stays in the mobile for some reason.

This causes issues with dark mode.

Since my image is a black logo on white background and padding set to white it gets inverted in dark mode causing the issue in the image below where the logo is smaller than the content.

 

Margin on the mobile version of the header logo 

 

1 reply

Byrne C
Community Manager
Forum|alt.badge.img+28
  • Community Manager
  • February 27, 2026

Hi ​@snn,

I’d recommend reaching out to our support team here at Klaviyo.com/support. This is likely caused by some sort of of extra padding, or a setting in your email’s Styles tab, but it would be a bit tricky to nail down without being able to inspect and make changes in the template.

That being said, once you do find a solution, feel free to post it here, so anybody seeing this in the future knows where to look!