Shopify themes, liquid, logos, and UX
I am using the dawn theme and the header on the collection pages allowed me to drop "accent 1" colours on them. (see below)
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
Solved! Go to the solution
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Sections> main-page.liquid
<div class="main-page-title">
<h1 class="main-page-title page-title h0">
{{ page.title | escape }}
</h1>
</div>
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;
}
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Sections> main-page.liquid
<div class="main-page-title">
<h1 class="main-page-title page-title h0">
{{ page.title | escape }}
</h1>
</div>
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.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025