Hello guys, as you can see I have the cart icon in white, which is perfect for my home Site. But I need it in black everywhere else! Can anybody help me out?
password: bautso
Hello guys, as you can see I have the cart icon in white, which is perfect for my home Site. But I need it in black everywhere else! Can anybody help me out?
password: bautso
Hey @ReviveShop
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
{% if template.name != "index" %}
{% endif %}
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @ReviveShop ,
{% if template.name != "index" %}
{% endif %}
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
This is Amelia from PageFly - Landing Page Builder App
I checked and saw that you added one custom CSS in the theme.liquid file that sets the color for the icon to be white. This will affect all the pages.
You can see this image
If you want to set the white color for only the homepage you need to add the liquid code that wraps your custom CSS code here.
{% if template.name == 'index' %}
{% endif %}
Hope that my solution works for you.
Best regards,
Amelia | PageFly
Perfect! Thanks!
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.