Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpbits/599577bb47296f81343863eb83e79bd2 to your computer and use it in GitHub Desktop.
Save phpbits/599577bb47296f81343863eb83e79bd2 to your computer and use it in GitHub Desktop.
Change Gutenberg Blocks Width to Match Genesis Layout Selection
<?php
//Genesis Framework layout support for blocks width
add_theme_support('editorskit-genesis-layout-block-sizes', array(
'content-sidebar' => array(
'default' => array(
'post' => '700px',
'page' => '800px',
),
'wide' => '900px',
'full' => '1200px',
),
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment