Archived topic
Mobile header logo changes are not taking effect
7 replies · Started by Sil on February 16, 2018
We actually set a mobile header image previously, but recently in settings it showed it as empty. (not sure at what GeneratePress version / WordPress core update that started)
And we use a child theme (downloaded the example from https://docs.generatepress.com/article/using-child-theme/)
Things I tried:
removing/re-uploading the mobile header image/logo
At “Customize > Layout > Header -> Mobile Header Logo”
Setting a different image keeps showing the old one, removing it doesn’t remove it.
Even tried disabling / enabling
– mobile header
– sticky mobile header
Related forum topic
https://generatepress.com/forums/topic/https-not-working-or-issue-with-the-mobile-header-logo/#post-187932
Emptying caches
In my case:
– browser cache
– Autooptimize
– Webhost cache (also tried Flywheels developer mode, no cache is served)
Page source and tools like https://www.whynopadlock.com/ keep giving me soft-failure with the url of the old file. (in our case I want to solve the fact that that mobile header image url is http instead of https)
Related forum topic regarding https
https://generatepress.com/forums/topic/mobile-logo-breaks-https/#post-342424
Deleted the old mobile header file from Media library
As a test I even deleted the image file from WordPress media library. Source code keeps referring to it.
Hi there,
This is the mobile header image I see: https://www.boterham.nl/wp-content/uploads/boterham-favicon-optimized.png
Looks like it's already https? Is that still the incorrect image?
Hi Leo, thank you for checking.
That is the correct file, but also this file shows up in source:
http://boterham.nl/wp-content/uploads/favicon2-boterhamnl.png
It has img class 'header-image' in a div with class 'site-logo sticky-logo navigation-logo'.
I can't seem to figure out how to change that to
https://www.boterham.nl/wp-content/uploads/boterham-favicon-optimized.png
That should be the navigation logo.
Thanks, that worked! 😀🎉
The setting at
Customize > Layout > Primary Navigation > Navigation Logo
showed no file was selected, but it did put that wrong one in the source code.
Solution:
Selected a file and that fixed it.
No problem :)
I too had this issue which I figured out.
When you first set the Logo under Customize | Site Identity it sets this logo and updates the setting under Customize | Primary Navigation | Navigation Logo. However, if you change it under Site Identity again it won't update in the same place.
It's a bit confusing.
No. The two logos are completely separated from each other.
https://docs.generatepress.com/article/adding-header-logo/
https://docs.generatepress.com/article/navigation-logo/