How can I set a unique header logo for a specific webpage?

Hi, I’m hoping if someone can help me…..

I want to have a different header logo on one of my webpages then on the rest, does anyone know how to do this? I’ve been trying for ages and just seem to change the logo throughout my website.

Thanks in advance

Hello @MooandBoo ,

Many ways to do it, one the easiest for you is, edit the logo code and make it conditional.
e.g.

{% if template == 'index'%}
// logo for index
{% elsif template  == 'yourtemplate' %}
// logo of this template
{% elsif template  == 'other-template' %}
// logo of this template
 {%else %}
// Default logo 
{% endif %}

Thanks

Thank you so much for replying to me, I have absolutely no idea about coding….. where and how do I go about editing the code?? I’m so sorry I’m a complete novice with all things website!

1 Like

If you are aware about the code then I suggest you go with a developer with dynamic options so you can change the logo dynamically without editing the code.

Hi @MooandBoo

Please refer the below video

Hope this will help…