Yes, sticky header takes the logo HTML code so if you will add H1 there, it will be used twice. It would be better to put the H1 tag somewhere on the page and not in the logo in this situation.
Yes, I know that. There are many websites that use only in the Home, just like us, the H1 in the logo because this way you do not break the aesthetics of the web and for Google it is still correct.
The problem is that the template calls the same file on the nav and on the sticky.
Is there any way to identify when calling the logo.php file the sticky?