Archived topic
body styles in styles.css overriding customizer settings
3 replies · Started by Han on November 8, 2018
Hi there,
I've set my heading and body font family via the Customizer but it seems like the 'body' styles in the style.css file (/generatepress/style.css).
This is the first time I encountered this issue.
Here is the style that's causing the issue -
I understand that I can set the fonts in my child theme's style.css but I prefer to use the Customizer for this.
Site is on my local now so I can't provide a link
Any idea why?
Hi there,
It's always hard to debug this kind of problem without seeing the site live and we haven't had this problem reported before.
So you've set a body font in the customizer but it's not working?
Are you using a child theme? If so this might be the issue:
https://docs.generatepress.com/article/child-theme-issues/#import
Let me know if this helps. If not any chance you can duplicate the site on a test server so we can see the problem?
Thanks!
Hi Leo!
I realised that I accidentally added '50' to the wp_enqueue_scripts priority parameter.
Things are back to normal now.
Thanks for the links you shared!
Ed
No problem!