# Misalignment on Landing Pages

**URL:** <https://community.hubspot.com/t/misalignment-on-landing-pages/88272>\
**Category:** CMS Development\
**Tags:** design-manager, css\
**Created:** [August 24, 2023, 5:28pm UTC](https://community.hubspot.com/t/misalignment-on-landing-pages/88272 "2023-08-24T17:28:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DCollado3](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DCollado3](https://community.hubspot.com/u/DCollado3)\
**Post date:** [August 24, 2023, 5:28pm UTC](https://community.hubspot.com/t/misalignment-on-landing-pages/88272/1 "2023-08-24T17:28:59Z")

</div>

The checkbox on my LP is misaligned: [Edit Page | HubSpot](https://app.hubspot.com/pages/4426286/editor/131543715452/content).  
How can I fix it in the source code? I have a custom template and when I access it - I don’t know which line of code is in relation to my form.  
I found this article: [https://community.hubspot.com/t5/CMS-Development/Check-box-for-consent-on-form-not-aligned-with-text/m-p/552332](https://community.hubspot.com/t5/CMS-Development/Check-box-for-consent-on-form-not-aligned-with-text/m-p/552332)

But when I search for the boolean check box in my template it is nowhere to be found for me to adjust the measurements.

I also have an issue with the Logo. We were using the static logo module but it was misaligned to the text and form below. How can I fix this within the code as well?  
I am planning to launch this Landing Page on our website tomorrow - Please help!

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [August 24, 2023, 9:45pm UTC](https://community.hubspot.com/t/misalignment-on-landing-pages/88272/2 "2023-08-24T21:45:35Z")

</div>

Hi @DCollado3

I had the same problem yesterday and solved it with some CSS added to the page.

I can’t see your page so I’m taking a guess that the Consent Checkbox is too high.

Here’s how I fixed it by adding this Custom CSS to my page:

```lia-code-sample
<style>
.legal-consent-container .hs-form-booleancheckbox-display input {
 margin: 0.35rem 0.35rem 2rem 0;
}
</style>

```

To add this code to the Page go to to your page **Marketing** (top menu) \> **Landing Pages** (sub menu) \> edit you page.

Then go to **File** (top menu) \> **Page Settings** (sub menu) \> **Advanced** (bottom left). Paste in the CSS with the Style tags exactly as above.

 ![app.hubspot.com_pages_21626122_editor_131285947510(slaptop).png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/3/430a04b57c894dd0e2e1c62fe33a4917d0a3c540.png)

If you want to add the to every page in your site you will need to edit your Main CSS File (assuming you have permission). Here’s [how to edit your CSS file](https://knowledge.hubspot.com/design-manager/create-edit-and-attach-css-files-to-style-your-site).

**Important** : if you edit your CSS file you won’t need the opening “\<style\>” tag, nor the closing “\</style\>” tag.

Please let me know how you get on.

Mike

Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of [Webalite](https://www.webalite.com?utm_campaign=community-forum&utm_source=community&utm_content=signature) a HubSpot Partner Agency based in Wellington, New Zealand and the founder of **Portal-iQ** the world’s first automated [HubSpot Portal Audit](https://portal-iq.com?utm_campaign=community-forum&utm_source=community-forum&utm_content=signature) that helps you work smarter with HubSpot.

---

<div class="post-metadata">

**Author:** ![DCollado3](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DCollado3](https://community.hubspot.com/u/DCollado3)\
**Post date:** [August 24, 2023, 11:07pm UTC](https://community.hubspot.com/t/misalignment-on-landing-pages/88272/3 "2023-08-24T23:07:52Z")

</div>

Worked perfectly, thank you!

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [August 24, 2023, 11:09pm UTC](https://community.hubspot.com/t/misalignment-on-landing-pages/88272/4 "2023-08-24T23:09:26Z")

</div>

Thanks for letting me know @DCollado3

-Mike
