GeneratePress - Add Wrap Around Content

If you want to add a wrap around the whole content when using the GeneratePress theme or a child theme based on GeneratePress, you can simply use the GP Hook Before Header to add this code:

<div class=site-wrapper">

Next, you have to use the GP Hook wp_footer to add this code:

</div><!-- .site-wrapper -->

That’s it, now you can use the class .site-wrapper to add a shadow behind the content of your website – or something else.