Created
May 17, 2019 04:39
-
-
Save phpbits/599577bb47296f81343863eb83e79bd2 to your computer and use it in GitHub Desktop.
Change Gutenberg Blocks Width to Match Genesis Layout Selection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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