Knowledge Base

HubSpot's native Image Module spacing bug

Written by HubSpotted | Jun 10, 2026 9:11:33 AM

If you are experiencing a spacing issue with HubSpot's native Image Module, this is caused by the default line-height behavior of the widget. To completely remove this extra gap, you can add the following CSS:

<style>
  .widget-type-linked_image { line-height: 0; }
</style>

Back to Knowledge Base