Archived topic
Dynamic CSS disorganized
3 replies · Started by Greg on December 9, 2021
I have Dynamic CSS Print Method set to External File and Cache dynamic CSS enabled. GP is still outputting a lot of styles on the page in <style id='generate-style-inline-css'> and<style id='generate-navigation-branding-inline-css'>`.
Based on the description of the options, I expected all that to be combined into a file.
Then, the child theme stylesheet should load after it. (In fact, the child theme stylesheet should be the last thing from GP to load just on principle, because the reason to use a child theme is for overrides.)
Hi there,
not everything can be combined into an external file at this time, we're slowly working towards that with each new update.
If you need to load the child theme styles later then Tom provides a snippet for that here:
https://generatepress.com/forums/topic/how-to-deactivate-default-styles/#post-1676329
👍
You're welcome