Alignment in Submit Button in Form not working

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

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

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.

Hi @IreneG,

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

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.

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.

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

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.