Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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 🙂