Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey,
I have put text in all of my pages & policies but they don't show up when you view the website. The only page that is working currently is the about us page which has a really big gap between the header and the text for whatever reason. Is there a way for this gap to be removed?
Also, the other pages either show no text at all or only show links and underlined text.
Pages that aren't working:
One of the front-line advisors mentioned that there was an issue with the HTML code that was causing this but they didn't have the expertise to fix it.
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hey @Verique_
Keep those 2 codes and add this new code as well right above </body> in the end of the theme.liquid file
<style>
.shopify-policy__title h1 {
color: black !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @Verique_
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hey @Verique_
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if template == "page" %}
<style>
h1, h2, h3, h4, h5, .h0, .h1, .h2, .h3, .h4, .h5, p {
color: black !important;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed,
I added that code at the bottom of the theme.liquid file. Now the heading is visible on the about us page, and the headings & text now appear on the FAQ, shipping and contact us pages.
However, the text on the refund and privacy policies, terms of service, contact information and order look up is still not appearing. Is this able to be fixed?
Thanks!
Hey @Verique_
Try this another code in theme.liquid above </body> in the end of the file
<style>
html body{
color: #000 !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed,
The text is now appearing on those pages. However, the headings are not appearing for the refund and privacy policies, terms of service and contact information pages.
Thanks!
Hey @Verique_
Don't remove the first code, keep both of the codes in theme.liquid and then it should be good to go!
Best Regards,
Moeed
Hi Moeed,
I've put in both of the codes in the theme.liquid file. I still can't see the headings on those pages. Does the order matter?
Thanks!
This is an accepted solution.
Hey @Verique_
Keep those 2 codes and add this new code as well right above </body> in the end of the theme.liquid file
<style>
.shopify-policy__title h1 {
color: black !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed,
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hi Moeed, I am facing the same problem. I copied and pasted the code in our theme liquid but it's still not showing. I can see the text content briefly for a fraction of a second when I refresh the page.
Hi @Verique_
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
html body{
color: #000;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025