Hi,
I want to disable logo movement on this template. I want to show fixed at left side position like you're scrolling down the page also with less height menu section.
Thanks.
DN
#gkLogo.cssLogo {
display: none;
}
if(jQuery('#gkHeaderNav').length > 0 && !jQuery('#gkHeaderNav').hasClass('active')) {
jQuery(window).scroll(function() {
var currentPosition = jQuery(window).scrollTop();
if(
currentPosition >= jQuery('#gkHeader').outerHeight() &&
!jQuery('#gkHeaderNav').hasClass('active')
) {
jQuery('#gkHeaderNav').addClass('active');
} else if(
currentPosition < jQuery('#gkHeader').outerHeight() &&
jQuery('#gkHeaderNav').hasClass('active')
) {
jQuery('#gkHeaderNav').removeClass('active');
}
});
}
jQuery('#gkHeaderNav').addClass('active');
#gkLogo.cssLogo {
display: none;
}
#gkHeaderNav.static #gkMainMenu {
left: 25%;}
.frontpage #gkHeader {
background: url('../../../images/lemaxcooperativa_event_sumem_1.jpg') no-repeat center top;
}
.frontpage #gkBottom2 {background: url('../../../images/pimec_localitzacio.jpg') no-repeat center top;
}
#gkHeaderNav.active #gkLogoSmall {
left: 0px;}