# Alignment in Submit Button in Form not working

**URL:** <https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [April 2, 2025, 1:40pm UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115 "2025-04-02T13:40:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![IreneG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ireneg/32/13631_2.png) [@IreneG](https://community.hubspot.com/u/IreneG)\
**Post date:** [April 2, 2025, 1:40pm UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/1 "2025-04-02T13:40:50Z")

</div>

Hi,

I’m embedding a Hubspot form on my website and even if I change the alignment in the form to centre or left it only shows on the right. The option updates on the left in the form editor but not in the preview on the right (New form editor). So the problem is in the form itself and not the website.  
I tried to find a workaround for the website and I found this code on the CSS rendered (in the div that contains the buttom), but even if I use the same class in my custom CSS to change to center it doesn’t seem to have any effect

.hsfc-NavigationRow\_\_Buttons:has(\>:only-child) {  
justify-content: end;  
}  
Any idea what might be happening?  
Thanks

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [April 2, 2025, 11:13pm UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/2 "2025-04-02T23:13:55Z")

</div>

Hey @IreneG! Thanks for your post. Do you have any screenshots of your alignment issue? These may be helpful for others to evaluate the scope of changes needed.

Do you see the same issue on the standalone form? Is your website a HubSpot hosted page?

_Best,_

Kennedy

---

<div class="post-metadata">

**Author:** ![IreneG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ireneg/32/13631_2.png) [@IreneG](https://community.hubspot.com/u/IreneG)\
**Post date:** [April 3, 2025, 7:27am UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/3 "2025-04-03T07:27:10Z")

</div>

Thanks for the response. I just posted a screenshot there.  
My website is not a Hubspot page, but the issue is in the form editor itself, it doesn’t seem to save the Alignment selection.

---

<div class="post-metadata">

**Author:** ![GiantFocal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/giantfocal/32/41969_2.png) [@GiantFocal](https://community.hubspot.com/u/GiantFocal)\
**Post date:** [April 3, 2025, 2:37am UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/4 "2025-04-03T02:37:48Z")

</div>

Hi @IreneG,

Could you share the page’s URL here? It’s impossible to provide a solution without checking the actual form live.

---

<div class="post-metadata">

**Author:** ![IreneG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ireneg/32/13631_2.png) [@IreneG](https://community.hubspot.com/u/IreneG)\
**Post date:** [April 4, 2025, 11:40am UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/5 "2025-04-04T11:40:31Z")

</div>

Hi, Apologies I should have added the screenshot at least. I cannot provide a URL because it is a staging site behind authentication. But the issue is the same in the editor. I select Alignment Centre and nothing changes. I added the screenshot in another reply.  
Thanks a mil.

---

<div class="post-metadata">

**Author:** ![IreneG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ireneg/32/13631_2.png) [@IreneG](https://community.hubspot.com/u/IreneG)\
**Post date:** [April 3, 2025, 7:24am UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/6 "2025-04-03T07:24:07Z")

</div>

Hi, Apologies I should have added the screenshot. I cannot provide a URL because it is a staging site behind authentication. But the issue is the same in the edito. I select Alignment Centre and nothing chances. Yesterday I saved it like this, but coming back to it today I realise every time I open the editor again the Alignment is not selected, so maybe it’s a Hubspot issue and the value doesn’t save.

 ![Screenshot 2025-04-03 at 08.20.46.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/4/34ff18c04410282869e5ce144f5dc53a9ae959fa.png)

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [April 17, 2025, 2:59pm UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/7 "2025-04-17T14:59:46Z")

</div>

Hi @IreneG -- I am not able to recreate this behavior in my own account. If you create a fresh, new form as a test, do you see the same behavior?

_Best,_

Kennedy

---

<div class="post-metadata">

**Author:** ![IreneG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ireneg/32/13631_2.png) [@IreneG](https://community.hubspot.com/u/IreneG)\
**Post date:** [April 17, 2025, 3:21pm UTC](https://community.hubspot.com/t/alignment-in-submit-button-in-form-not-working/129115/8 "2025-04-17T15:21:30Z")

</div>

I just tried again and it seems to work fine. Maybe it was just a flake for a few days/weeks.

Thanks for the responses.
