Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/functions.php Secret
Created May 7, 2019

What would you like to do?
* Gutenberg scripts and styles
function ea_gutenberg_scripts() {
wp_enqueue_style( 'ea-genesis-layout', get_stylesheet_directory_uri() . '/assets/css/genesis-layout.css' );
add_action( 'enqueue_block_editor_assets', 'ea_gutenberg_scripts' );
.content-sidebar .editor-styles-wrapper .wp-block,
.sidebar-content .editor-styles-wrapper .wp-block {
max-width: 640px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.