Align text to the left in rich text on product page

Hello,

I’m adding rich text underneath my product photos and add to cart button. I want to keep the heading centered to the page and the text centered to the heading.

However, I want the text to align to the left, while still being centered to the heading, so that it’s easier to read and looks less choppy.

https://elicu.com/products/bodysonic

Thanks,

Aidan

Hi @aidannbrown

To change the content as you want, please follow these steps:

  1. Open Edit code at Online store > Themes > Edit code
![view - 2023-03-27T113116.582.png|1813x827](upload://rBIUGljPMjhF51LfJsbv7siLGOY.png)
  1. Search for the file “base.css” and paste the following code at the end of the file:
.rich-text__blocks h3{
   text-align: center;
}
  • Here is the result:

We hope that it will work for you.

1 Like