Reply To: Page header only over content (not over content and sidebar)

Home Forums Support Page header only over content (not over content and sidebar) Reply To: Page header only over content (not over content and sidebar)

Home Forums Support Page header only over content (not over content and sidebar) Reply To: Page header only over content (not over content and sidebar)

#149246
Tom
Lead Developer
Lead Developer

Hi Dennis,

Nice ASCII art 🙂

Set your position to below the header, and then try this function:

add_action( 'wp','generate_move_page_header' );
function generate_move_page_header()
{
	remove_action('generate_after_header','generate_page_header', 10);
	add_action('generate_before_main_content','generate_page_header', 0);
}

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

Let me know if that does the trick or not.