Hi,
this code in child function.php worked before V3.8
function add_hide_header(){
?>
<script>
jQuery(window).scroll(function(){
if(jQuery(this).scrollTop() > 200) jQuery(‘#header_main’).fadeOut(‘slow’);
if(jQuery(this).scrollTop() < 200) jQuery(‘#header_main’).fadeIn(‘slow’);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_hide_header’);
I does not work any more.
//
OPV AB
Hey opvab,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
Best regards,
Nikko
Comes here.
//OPVAB
Hi,
Your code was commented out. I removed commenting characters and it does work fine at the moment. Please review your website now
Best regards,
Yigit
Thanks, and yes it works.
//OPVAB
Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Regards,
Yigit