How can I left align a featured collection title on the Dawn theme home page?

New Member
6 0 0

On the dawn theme how can I left align a featured collection title/heading on my home page. I'd like both lines of text to the left. Picture shows centered text for reference. Thanks. Screenshot (103).png

Replies 6 (6)

Shopify Partner
588 48 77

Hello there  

To align a title in HTML, you can use the style attribute and set the text-align property to the desired alignment value. For example:


<h1 style="text-align: center;">This is a centered title</h1>


This will center the title on the page. You can also use the align attribute to align the title, like this:


<h1 align="center">This is a centered title</h1>


Both of these methods will work to align the title on the page. Keep in mind that using the style attribute is considered best practice, as it allows you to control the styling of the element using CSS, rather than using old-fashioned HTML attributes.

hope this helps!

New Member
6 0 0

Under what heading and sub-heading of 'Edit Code' will I apply that to?

Shopify Partner
5588 1261 1209

Hello @ryanmacventures 


You can follow these steps: 
1. Go to Online Store->Theme->Edit code


2. Open your theme.liquid file, paste the below code before </body>


 {%  if template contains 'index' %}
.shopify-section .rich-text .rich-text__blocks {
    margin-left: 5rem;
    text-align: left;
  {%  endif %}

I hope the above is useful to you.

Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business

- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

Shopify Partner
12291 2547 3698


Please share your store URL!


If helpful then please Like and Accept Solution | Email: |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app

Shopify Partner
1408 173 231


Please share your store URL and if your store is password protected then also provide password too.

Thank you.

If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact me on | Shopify Design Changes | Custom Modifications In to Shopify Theme
New Member
6 0 0