Home › Forums › Support › Combine header and site/content container This topic has 3 replies, 2 voices, and was last updated 2 years, 10 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 4, 2022 at 6:47 am #2401457 webintas Hi there, I want to make a gradient background on the main area including the header and the content area. However, in order to do I need to have these two HTML-elements combined into one so I can apply the CSS to one element. Can I achieve that? November 4, 2022 at 7:04 am #2401471 DavidStaff Customer Support Hi there, what about adding it to the body – does that not achieve what you need ? If not you can wrap them using Hooks, try this PHP snippet: add_action('generate_before_header', function(){ echo '<div class="site-wrapper">'; },9); add_action('generate_before_footer', function(){ echo '</div>'; },1); November 4, 2022 at 7:07 am #2401475 webintas Hi David, Thank you! No, adding it to the body does not give the same. Doing that, some of the gradient background is hidden by the nav and the site footer. November 4, 2022 at 7:58 am #2401712 DavidStaff Customer Support Glad to be of help! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In