All theme styles are broken
- Make sure there are no errors in your theme.json file
- Edit a FSE template and resave the template.
- Make sure that you are not disabling global styles either in code or via a plugin.
- The Perfmatters plugin has a setting under General > Remove Global Styles. Make sure this is off.
remove_action('wp_enqueue_scripts', 'wp_enqueue_global_styles');
remove_action('wp_footer', 'wp_enqueue_global_styles', 1);
remove_action('wp_body_open', 'wp_global_styles_render_svg_filters');
remove_action('in_admin_header', 'wp_global_styles_render_svg_filters');
Custom colors not showing from theme.json
Custom colors from theme.json no longer showing when editing FSE template files.
- This may be related to cached data. Open Dev-tools > Application > Storage. Click “Clear Site Data”.
- Open dev tools and clear When `browserSync` is active while developing locally.
- Make sure there are no errors in your theme.json file