Override base Gutenberg block default spacing in child theme’s theme.json

Use a Global Styles Filter to override the style: add_filter( ‘wp_theme_json_data_default’, function ( $theme_json ){ $new_data = array( ‘version’ => 2, ‘styles’ => [ ‘blocks’ => [ ‘core/embed’ => [ ‘spacing’ => [ ‘margin’ => [ ‘top’ => ‘2rem’ ] ] ] ] ] ); return $theme_json->update_with( $new_data ); }); An alternative that may also … Read more

Add fontFamily object to theme.json

@TomJNowell – Thanks for this detail info, clarification and advice. I didn’t know about the new debug constant so will learn how to utilize that, and will use a child theme. I wasn’t able to fix this issue, so I spun up a new server and my font updates worked. So I’ll just abandon the … Read more

techhipbettruvabetnorabahisbahis forumueduseduseduseduseduedueduseduedusedus