How can I center the pop-up message on my contact page?

Topic summary

A user needs help centering a pop-up confirmation message that appears after submitting a contact form on their Shopify store.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes
  • Click Actions → Edit code on the active theme
  • Open the “section-contact-form.css” file in the Assets folder
  • Add the following CSS code at the bottom of the file:
form-status.form-status-list.form__message h2 {
  justify-content: center;
}
  • Save the changes

The solution includes a screenshot showing the expected result. The helper requested the original poster mark the response as a solution if it resolves the issue.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

Hi guys, how can center the message that pops up after a message is sent via the contact form. Any help is greatly appreciated! A picture is attached for reference. Website: flammashop.com

1 Like

Hi @flammagreg

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “section-contact-form.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

h2.form-status.form-status-list.form__message {
    justify-content: center;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like