Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Due to the video banner, I need the menu text in white. The issue is I only need this changed on the home page. The rest of the pages, such as About, Contact, should remain the original color.
The element I need to change is ".wbmenul1_link". The color to fff.
I found an article on applying changes to specific pages but I couldn't get it working. I believe the body class of this page is "gradient template-index", but I couldn't find an ID.
Can you kindly let me know how to go about this?
The website is https://makersharvest.com.au
Solved! Go to the solution
This is an accepted solution.
Hi @makersh
You can try this go to your header.liquid file and copy this line of code above the {% schema %} tag
{% if request.page_type == "index" %}
<style>
.wbmenul1_link{
color:#fff;
}
</style>
{% endif %}
it should look like this
and then save in the top right.
This is an accepted solution.
Hi @makersh
You can try this go to your header.liquid file and copy this line of code above the {% schema %} tag
{% if request.page_type == "index" %}
<style>
.wbmenul1_link{
color:#fff;
}
</style>
{% endif %}
it should look like this
and then save in the top right.
Thank you for your time Joe. This worked exactly as I needed
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024