- This topic has 8 replies, 3 voices, and was last updated 6 years, 2 months ago by Tom.
September 29, 2016 at 3:37 am #230265Craig
I’m having a problem with Generate Press not displaying my logo when I add a blank child theme (just a style.css file).
The logo has been added through the Page Header add-on as my home page has a full screen image and merged transparent header. The menu still shows up fine.
Any ideas how to sort this?September 29, 2016 at 8:19 am #230320Roberto Enrique
You need to add the logo again in the customizer.September 29, 2016 at 9:23 am #230345TomLead DeveloperLead Developer
A couple months back WP.org forced all themes to the the custom_logo theme_mod in their themes. theme_mod settings are only applicable to the theme they were set with, which means they disappear when themes are changed, even if it’s a child theme.
Terrible user experience in my opinion, at least for options like the logo, copyright etc..
I’ve been talking to a couple developers and have come up with a function I need to test a little which should use the parent theme theme_mod option if the child theme option isn’t set.
So yes, long story short, Roberto nailed it. The logo needs to be re-uploaded in the Customizer when the theme changes.September 29, 2016 at 9:57 am #230369Craig
Thanks for the quick feedback guys, totally makes sense.
Unfortunately, I tried replacing the logo as suggested but it’s still not showing. Is there something else that I need to reset to get this working? If not I guess I’ll have to start the site again from scratch making sure the child theme is in place first before I make any edits…September 29, 2016 at 9:58 am #230370TomLead DeveloperLead DeveloperSeptember 29, 2016 at 10:00 am #230372Craig
Yes it isSeptember 29, 2016 at 10:01 am #230373TomLead DeveloperLead Developer
But it’s not displaying anywhere on the live site at all?
Does your child theme have any changes made to the header.php file or any custom functions added?September 29, 2016 at 10:08 am #230374Craig
Got it working! I had to go into customize, update the main site logo, then update the logo in the page header section.
Thanks for the help guys 🙂September 29, 2016 at 10:09 am #230375
- You must be logged in to reply to this topic.