Sep 22 2026 | By: PhotoBiz Knowledge Base
Overview
The submit button in a PhotoBiz Form Block normally follows the default alignment set by the form layout. You can use a small custom CSS snippet to center the button horizontally on the page.
When added to the page SEO settings, this CSS centers the submit button for each Form Block on that page. This guide explains where to add the code and how to confirm the change.
Before you begin, make sure:
Log into your PhotoBiz account and click WEBSITE in the left-side menu.
Click the page containing the Form Block you want to update.
Once the page loads in the Website Builder, click SEO in the upper-right corner to open the page SEO settings.
Click TRACKING in the menu on the left side of the SEO panel.
Copy and paste the following code into the HEAD field exactly as shown:
This CSS changes the submit button container to a flexible layout and centers the button horizontally.
Click SAVE to apply your changes.
Refresh your website preview or visit the live page. The submit button in each Form Block on the selected page should now appear centered.
The screen shot below shows a form block with the submit button centered using CSS.
The submit button is not centered
Confirm that you pasted the complete code into the page’s SEO → ADVANCED TRACKING → HEAD field. Make sure the opening and closing style tags are included.
Click SAVE, and then refresh the page. If the button still has its previous alignment, clear your browser cache or perform a hard refresh.
The code appears as text on the page
Make sure you added the code to the HEAD field under ADVANCED TRACKING. Do not paste it into a Text Editor Block, HTML Block, or form field.
I only want to center one form on the page
The CSS targets the submit button container for every Form Block on the selected page. If the page contains multiple forms, each form’s submit button will be centered.
How do I remove the centered alignment?
Return to the page’s SEO settings and remove the CSS snippet from the HEAD field. Click SAVE, and then refresh the page.
Support Hours: Monday to Friday, 9am to 6pm EST
Phone: 866.463.7620
Support Channels: Phone, Live Chat, Support Ticket