How to Remove Padding Around a HubSpot Form


How to Remove Padding Around a HubSpot Form

The new HubSpot forms have a lot of style options now but one that is not easy to change is the padding of the container. Add this CSS style to your page or theme to remove the padding so your form fields go to the edge and align with your text above and below it.
remove padding from the new hubspot forms

<style>
body [data-hsfc-id=Renderer] .hsfc-Step .hsfc-Step__Content {
  padding: 0;
}
</style>

 

About the Author

Jacob Lett is the founder of Bootstrap Creative, a digital marketing consultancy that helps Michigan manufacturers generate qualified leads through HubSpot, technical SEO, and Google Ads. With over a decade of hands-on experience, he acts as a direct partner for B2B companies seeking measurable ROI from their marketing investment.



Related posts

Tags:

| Read My Editorial Policy

Want to Get Email Updates of New Articles?

Join My Email Newsletter