On my homepage, my header uses a white logo and white text for the menu options, on a transparent background. But on all my other pages, I use a white background. So I want to create a different header with all the same content but in black (that is, the black version of my logo and black text for menu options). I saw in other posts people saying to use
{% if template == ‘non-homepage’ %}
{% section ‘header1’ %}
{% else %}
{% section ‘header’ %}
{% endif %}
but I do not know where and how to use this snippet.
Again, I want to keep the header for the homepage, but create a black on white version of it for all other pages
My website is www.mymotherland.store