How can I alter text alignment in different Rich Text sections?

Hi, I need to be able to change the text alignment in the Rich Text block on different pages. At the moment I have it set up for center alignment because I needed that when I was doing the homepage, but now that I’m creating a different page I need to be able to right-align the Rich Text. It would be good to be able to choose this per Rich Text section.

Is this possible? It seems like a weird thing not to have but I’m not sure if it’s just my theme. To clarify, I need to be able to change the text alignment on different pages using Rich Text.

Can anyone help with this?

Domain; www.zoeyellisbooks.com

Password; mowfla

Hi @Ellis55 ,

This is Victor from PageFly - Landing page builder

Yes that is possible. Can you be more specific on which page you want to align?

Best regards,

Victor | PageFly

Hi @PageFly-Victor

Yes, the page, in this case, is the About page.

Thank you!

Hi @Ellis55 , Sorry for the late reply. Looks like the password is no longer correct. Can you provide the password again?

Hi @PageFly-Victor

Sorry, I thought you’d given up! Please try again.

Thanks

Hi @Ellis55 ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea for solution:

Step 1. Go to Online Store → Theme → Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before :

{% if canonical_url contains 'about' %}
  
{% endif %}

Hope my answer will help you.

Best regards,

Victor | PageFly

Yes, that works!

Thank you so much :slightly_smiling_face: