Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM backtop icon hides footer menu item Reply To: backtop icon hides footer menu item

#83680

Jos Deuling

Hi Anna,

Thanks for the tip. I tested it but it didn’t work. The following patch did the job:

jQuery(window).scroll(function ($) {
“use strict”;
var scroll = jQuery(window).scrollTop();
if (scroll >= 100) {
if (!Modernizr.mq(‘only all and (max-width: 1025px)’)) {
jQuery(‘.logo’).addClass(‘miclogo’);
jQuery(“.header_wrapper”).addClass(“navbar-fixed-top”);
jQuery(“.header_wrapper”).addClass(“customnav”);
jQuery(‘.contact-box’).addClass(‘islive’);
jQuery(‘.backtop’).addClass(‘islive’);
jQuery(‘.barlogo’).show();
jQuery(‘#user_menu_open’).hide();

}
} else {
jQuery(“.header_wrapper”).removeClass(“navbar-fixed-top”);
jQuery(“.header_wrapper”).removeClass(“customnav”);
jQuery(‘.contact-box ‘).removeClass(‘islive’);
jQuery(‘.backtop’).removeClass(‘islive’);
jQuery(‘.contactformwrapper’).addClass(‘hidden’);
jQuery(‘.barlogo’).hide();
jQuery(‘#user_menu_open’).hide();
jQuery(‘.logo’).removeClass(‘miclogo’);
}
});

The backtop icon is absent on http://www.wpresidence.net. Is it save to assume that this function will be removed from a new release of your theme? I don’t want to change the plugin code.

Best Jos.