- This topic has 7 replies, 3 voices, and was last updated 6 years, 1 month ago by Leo.
October 24, 2017 at 4:41 am #409032Jaakko Pöntinen
When I’m using the customizer for example to change the typography of the site title, I can see all changes I make update as expected in the live view.
Then I hit Save and the page refreshes. The header font is saved but it’s size is not! Nevertheless the value I set it to be is still saved in the customizer – 100px for example. Nudging the size adjust knob instantly pops the header text size back up.
I’ve tried different browsers (IE, Chrome, Firefox) to no avail. I see all changes happen but as I save, most of the properties are lost – but only from view (whether logged in or not), not from the customizer values. This applies at least to colors and font sizes, don’t know what else is affected.
No caching plugins used at this point. No server-enforced cache or gzipping going on.
What’s up with this? 😛 Thank you in advance!
– JPOctober 24, 2017 at 8:15 am #409197LeoStaffCustomer Support
Hard to tell without seeing the site.
Can you provide a link?October 24, 2017 at 10:45 pm #409610Jaakko Pöntinen
Sorry, the development is taking place in an intranet, no outside access. I hoped you’d seen this and would know to suggest solutions. Our server is running XAMP with no problem whatsoever on the customizer on other installations running GP, just this one instance acting up.
EDIT: What’s stranger yet, some properties do get saved. F.e. the site description color does get saved, whilst the title color does not. I’m working on a child theme of GeneratePress – tried to switch to the parent theme and make changes there – same thing. Other themes do seem to get their changes saved – although I don’t have the time to go through every setting to see if everything works.
EDIT2: MySQL shows, in the table _options, property generate_settings get updated with changing customizer values. So the customizer writes to the DB ok, somehow though WP does not read the values to show to the end user. Here’s the dump from generate_settings (which, again, shows the values that are OK and should be applied to the theme)
Thanks for your time, Leo 🙂 Looks like it’s a reinstall then? Do give a shout if you think of something.
– JPOctober 24, 2017 at 11:23 pm #409629TomLead DeveloperLead Developer
Can you try disabling all of your other plugins to see if there’s a conflict?
This can happen sometimes if another plugin is also setting font sizes etc..October 24, 2017 at 11:34 pm #409633Jaakko Pöntinen
There is no other plugins on. Also updating on the situation: all instances are affected by this. No matter what computer I use. No matter if it’s a fresh WP with a fresh GP on top. The same settings (f.e. site title color) do not get saved, whilst tagline color does.
– JPOctober 24, 2017 at 11:36 pm #409635TomLead DeveloperLead Developer
Hmm, if the DB has the correct values, the front end should display them properly.
Without seeing the site (maybe up it to a live server temporarily?), the only thing I can guess is that another element is overwriting the CSS written by the theme.October 24, 2017 at 11:50 pm #409642Jaakko Pöntinen
Here’s something, still (If this doesn’t solve it, I’ll migrate the installation for you to look at, though there isn’t much to look – it’s just a fresh WP with a fresh GP):
These are all from inspecting the site title. The instance of .main-title with font-size: 109px is the one that’s supposed to be in effect. So, something is overwriting the customized settings but what? I mean… There’s nothing else installed than WP, GP theme and GPP.October 25, 2017 at 8:18 am #409995LeoStaffCustomer Support
Are you using a child theme? If so can you make sure this line is not included? https://docs.generatepress.com/article/child-theme-issues/#import
- You must be logged in to reply to this topic.