By default when scroll window on our themes with fixed header, the header social icons and logo become hidden. In case you want to display them during scroll, it will require a small code change. Here are all of the necessary steps:
- Login to your Admin Panel
- Navigate to Left Menu -> Appearance -> Editor
- Open js/utilities.js file
- On line 497 find the following code:
jQuery(window).scroll(function () {
if (jQuery(this).scrollTop() > 100) {
jQuery(‘.scrollup’).fadeIn();
jQuery(‘#header-top’).hide();
jQuery(‘#header-logo’).hide();
} else {
jQuery(‘.scrollup’).fadeOut();
jQuery(‘#header-top’).show(‘slow’);
jQuery(‘#header-logo’).show(‘slow’);
}
});and replace it with:jQuery(window).scroll(function () {
if (jQuery(this).scrollTop() > 100) {
jQuery(‘.scrollup’).fadeIn();
// jQuery(‘#header-top’).hide();
// jQuery(‘#header-logo’).hide();
} else {
jQuery(‘.scrollup’).fadeOut();
// jQuery(‘#header-top’).show(‘slow’);
// jQuery(‘#header-logo’).show(‘slow’);
}
}); - Save changes