Hi,
we are using the latest version of Enfold (4.7.6.4). On our homepage the shrinking/fixed header is not working, although it is working on all subpages.
This problem also occurs in other browsers than Chrome. I have attached the URL in the notes – see for yourself.
What could be causing this?
Best
David
Hi David,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
here we go :)
Hi,
Thanks for that. You have this function in your child theme which removes the sticky class:
/**
* Remove sticky header on frontpage
*/
function remove_sticky_header_on_frontpage(){
if( is_front_page() ) {
?>
<script>
jQuery(window).load(function(){
jQuery('html').removeClass('html_header_sticky');
});
</script>
<?php
}
}
add_action('wp_footer', 'remove_sticky_header_on_frontpage');
If you remove that then it should work as expected.
Best regards,
Rikard
Thanks for you help!
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon
You can close it. Thank you.
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon