Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Please see attached image. I have just changed the color of my contact page background and now the h1 title "contact" is a dark color and I want to change it to white to match the text color. can some advise how this is done?
Solved! Go to the solution
This is an accepted solution.
For this purpose you need a little liquid and css code please refer to the code below. Add this code into your theme.liquid file before </body>
{% if page.handle == "contact-us"%}
<style>
.main-page-title.page-title {
color: #FFF;
}
</style>
{% endif %}
thanks
This is an accepted solution.
For this purpose you need a little liquid and css code please refer to the code below. Add this code into your theme.liquid file before </body>
{% if page.handle == "contact-us"%}
<style>
.main-page-title.page-title {
color: #FFF;
}
</style>
{% endif %}
thanks
Thank you Liquid xpert. This solution worked.
always here for any help 🙂
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025