Productivity Tools

Deanna
Participant

Adding Padding to Form on Hubspot Landing Page on Desktop Only

SOLVE

I am trying to add padding to the right and left side of the form on this hubspot landing page on desktop ONLY: 

https://promo.njmonthly.com/gooddeeds?hs_preview=OpIGKIEy-37408147290

 

Any code that I can add to the head HTML would be greatly appreciated!!

 

 

0 Upvotes
1 Accepted solution
Jake_Lett
Solution
Guide | Partner
Guide | Partner

Adding Padding to Form on Hubspot Landing Page on Desktop Only

SOLVE

Hi Deanna,

This code should solve your problem. It sets a maximum width of the form and centers it in the window.

 

<style>
#hs_cos_wrapper_module_1605115967568431 {
    max-width: 700px;
    margin: 0 auto;
}
</style>

View solution in original post

3 Replies 3
Jake_Lett
Solution
Guide | Partner
Guide | Partner

Adding Padding to Form on Hubspot Landing Page on Desktop Only

SOLVE

Hi Deanna,

This code should solve your problem. It sets a maximum width of the form and centers it in the window.

 

<style>
#hs_cos_wrapper_module_1605115967568431 {
    max-width: 700px;
    margin: 0 auto;
}
</style>
Deanna
Participant

Adding Padding to Form on Hubspot Landing Page on Desktop Only

SOLVE

This worked! Thank you very much this was a huge help!

0 Upvotes
Deanna
Participant

Adding Padding to Form on Hubspot Landing Page on Desktop Only

SOLVE

This worked! Thank you very much this was a huge help!

0 Upvotes