Center Image in "About" page in Studio Theme

Topic summary

Main issue: Center a photo under the title on the About page in the Shopify Studio theme; the title was already centered using “text-align: center.”

A helper asked for the page link to review before proposing a fix.

Solution provided: Edit the theme’s CSS file (Assets > base.css/style.css/theme.css) and add a rule targeting the element selector (#shopify-section-template–17937189372200__main > div > div > p:nth-child(1)) with “text-align: center !important;”. This uses CSS (Cascading Style Sheets) to force centering of the element.

A screenshot was shared to illustrate the centered result, indicating attachments were used to confirm the outcome.

Outcome: The original poster confirmed the CSS fix worked perfectly and accepted it. They later apologized to the first helper for missing their request for the page link.

Status: Resolved, with a concrete CSS change implemented; no remaining open questions.

Summarized with AI on January 15. AI used: gpt-5.

Hello,

I’ve tried a couple of solutions posted on the forum, but none of them worked. I simply want my photo on my “About” page to be centered under the title. I already used “text-align: center;” to center my title based on a Shopify video on YouTube. Thanks in advance for any help.

1 Like

Hi @LisaWommack ,

Can you provide me with the link to your page? I will review the page and provide solution accordingly.

Thank you

Hi @LisaWommack

Try 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 “base.css, style.css or theme.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:
#shopify-section-template--17937189372200__main > div > div > p:nth-child(1) {
    text-align: center !important;
}
1 Like

That worked perfectly - thanks so much!

1 Like

Hello!

Thanks for asking - I’m sorry I didn’t see this before I got the accepted answer. I appreciate your time!