How can I match my collection and page headings in the Dawn theme?

I am using the dawn theme and the header on the collection pages allowed me to drop “accent 1” colours on them. (see below)


![Screenshot 2023-03-02 at 8.33.25 pm.png|2244x566](upload://ebJE9IRO9iOnzl5NBGnQC3NQti0.jpeg)

The Page heading is not a section and I cannot effect how it looks. I want it the same as the collection heading and I don’t even know when’re to start looking to edit the HTML code.

Can anyone help please

@RWH

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Sections> main-page.liquid


  # 
    {{ page.title | escape }}
  

paste below code here :

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > section-main-page.css and paste this at the bottom of the file:
.main-page-title {
    background: #000;
}
h1.main-page-title.page-title.h0 {
    color: #fff;
    text-align: center;
    max-width: 1500px;
    padding: 25px 0;
    font-size: 40px;
}

hi thanks that is great.

One thing, what code need to change to align and fix the text below the header logo like the collection pages. Text is currently centred.