Specifying logo file directly in the header.liquid isn't displaying the logo

Hi,

With the code below, I tried to change the header logo in the site. It’s not working and I have no clue as to why not. Here is the code. Note line files/PMM_512_rec_R_f235cc1b-7359-44c9-82bd-6d2ad198e1ce.png


The code you provided seems to be missing the definition of the sourceLogoFile variable. Without that variable, the srcset attribute won’t work as expected.

To fix this, you can update the code as follows:

{% assign sourceLogoFile = 'files/PMM_512_rec_R_f235cc1b-7359-44c9-82bd-6d2ad198e1ce.png' %}