Prepare Genesis Framework to use with CSS Grid

If you want to use the Genesis Framework in combination with a CSS grid layout, it might be helpful to remove the site-inner and content-sidebar-wrap blocks.

To remove these blocks, add this lines to your functions.php:

add_filter( 'genesis_markup_site-inner', '__return_null' );
add_filter( 'genesis_markup_content-sidebar-wrap', '__return_null' );

Now, the generated HTML code is not nested anymore and it should be easy to play around with CSS grid and the Genesis Framework.