Logo shrinking is not working

Hello,
I have a problem with a logo at the top of my page.
After the update to Pro it will not shrink and the menu is jumping.
I searched here, but the screenshots looks different and I’am not able to solve this problem.

I deleted the cache, but that will not help.
I used the inline and stacked layout, but it will not help.

Can you have a look at it?
Thank you
chris

Hello Chris,

Thanks for writing in!

It seems that you added this custom JS code on your site:

jQuery(function($) {
	$(window).scroll(function() {

		if ( $(this).scrollTop() >=  mastheadOffset() ) {           
			$('.x-logobar').addClass('x-logobar-fixed-top');
			$('.x-navbar').addClass('x-navbar-fixed-top');
		}  else {           
			$('.x-logobar').removeClass('x-logobar-fixed-top');
			$('.x-navbar').removeClass('x-navbar-fixed-top');
		}

		if ( $(this).scrollTop() == 0){
			$('.x-logobar').removeClass('x-logobar-fixed-top');
			$('.x-navbar').removeClass('x-navbar-fixed-top');
		}

	});   

	function mastheadOffset() {
		return $('.masthead').offset().top - $('#wpadminbar').outerHeight();
	}
});

This JS code has stopped working. You may need to contact the one who code this as it may be some conflict or no longer compatible with the latest version which needs to be updated.

Be advised that custom coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.

Best Regards.

Thank you!
I’m in communication with the person who made the website.
I’m not able to find the custom code.
I will check this…
Best regards!

Hey @cwwcw,

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.