How to unlock the Lightning header

If you want to unlock the header,
writing the following code to the functions.php of child theme.

  • Ligthning 2.4.0 later

Lightning Headfix disabel sample

add_filter( 'lightning_headfix_enable', 'lightning_headfix_disabel');
function lightning_headfix_disabel(){
	return false;
}

Lightning header height changer disabel sample

add_filter( 'lightning_header_height_changer_enable', 'lightning_header_height_changer_disabel');
function lightning_header_height_changer_disabel(){
	return false;
}

Follow me!