Genesis framework is popular for speedy load and SEO friendly. But customizing genesis framework is not just dragged and drop. Need some coding knowledge to add some widget in the specific location. Genesis framework has a very rich hook library to add something in a different location. Some hooks of genesis framework are:

genesis/footer.php
genesis_before_footer
genesis_footer
genesis_after_footer
genesis_after
genesis/header.php
genesis_doctype
genesis_title
genesis_meta
genesis_before
genesis_before_header
genesis_header
genesis_after_header

Add a full-width banner on a single page in genesis framework

So when we want to add a full-width banner on a single page in genesis framework we have to do it with coding in genesis theme. It will not work if you add just some banner in the widget, NO, it will not work. we have to use hook and have to make a custom widget area based on our demanded location.
To add a full-width banner on a single page in genesis framework we have to add some code infunctions.php file on genesis framework themes like “Enterprise Pro” or “StudioPress“. So Add the code in the functions.php file in the child theme to add a full-width banner on a single page in genesis framework.

/*custom banner image*/
add_action( 'genesis_after_header', 'custom_after_header_image' );

functioncustom_after_header_image() {

if ( is_single() ) { ?>

<div class="custom-after-header-image">
<div class="custom-header-overlay">
<div class="custom-header-content">
<div class="custom-header-image-left">
<?php
                $image = sprintf( 'https://example.com/wp-content/uploads/2018/04/testbanner.png', get_stylesheet_directory_uri() );    
                $output = sprintf( '<img src="https:///example.com/wp-content/uploads/2018/04/testbanner.png" alt="Image" />', $image );
echo $output;
            ?>
</div>
<div class="costom-header-content-right">
<h1 class="custom-header-right-header">How to Start a Blog: FREE 7-Day<br/>eCourse for Beginners!</h1>
<p>Get the exact step-by-step formula we used to start our blog niche<br/> that made us $103,234.34 in our first year</p>
<a class="custom-header-content-button" href="#">START MY BLOG</a>
</div>
</div>
</div>
</div>

<?php }

}

 

So if need content or banner before header or after header there are different hooks. You can easily use them in functions.php file and make a custom widget or write code directly to add content. So enjoy the Genesis framework.