how to center align text on page??

Topic summary

A user needed to left-align text on their Shopify store’s About page but couldn’t find the option in the menu settings.

Initial Solution:
One responder provided CSS code to be added to the theme.liquid file above the </body> tag, which would left-align text across the entire site.

Refined Solution:
When the user clarified they only wanted this change on the About page, another responder offered two approaches:

  • Adjust alignment settings directly in the Rich text section within the theme customizer
  • Add page-specific CSS code targeting only the About page (using page ID) in the <head> section of theme.liquid

Both solutions involved custom CSS styling, with the page-specific approach using conditional logic to limit the effect to a single page.

Outcome:
The issue was resolved successfully, with the user expressing gratitude for the help.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

Hi! I am working on the website https://omniahebeidart.com/ (PW 1234)

I am trying to LEFT align the text on the about page: https://omniahebeidart.com/pages/about

I cant find an option to do so in the menu - is there a way to do it with code?

1 Like

Hey @themaxwolf

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Thank you. How would I do it to only the “About” Page

You can change settings of Rich text section in customize to do that

Or add this code to theme.liquid file, after in Sales channels > Online store > Themes > click “…” in Current theme > Edit code

{% if page.id == 121303564542 %} 

{% endif %}

THANK YOU!!!