Reply To: Page Jumps with Sticky Menu

Home Forums WordPress Themes – Premium Circumference Page Jumps with Sticky Menu Reply To: Page Jumps with Sticky Menu

Sushil Adhikari

Sorry Francois Zietsman, this issue is really frustrating for both of us, so could you please try again by providing minimum offset of 1, here is the code for it.
Remove the previous one and add this code.

//remove celestial theme customize function of parent
add_action('after_setup_theme', 'circumference_child_remove_sticky_action');

function circumference_child_remove_sticky_action() {
	remove_action('wp_head', 'celestial_theme_customize_js');

//add sticky menu with offset value 10
add_action('wp_head', 'circumference_child_add_Sticky');
function circumference_child_add_Sticky() {

	(function ( $ ) {
			var active = "";
            if (active == 1) {
            	$(window).scroll(function() {
            		var scrollTop = $(window).scrollTop();
            		if (scrollTop > 1) {
            			$('#logo img').css({"width":"50%"});
            			$("#cir-site-header").css({"position":"fixed", "right":"0px", "left":"0px", "top": "0px","z-index":"1080","padding": "3px 0px 0px 0px", 'box-shadow': '0.5px 0.5px 0.5px #EAEAEA'});
            			$("#site-navigation").css({"margin":"10px 0"});
					else {
						$('#logo img').css({"width":"100%"});
						$("#cir-site-header").css({"position":"relative", 'box-shadow':'none', "padding": "2em 0"});


Have patience Francois, we are trying our level best to fixed your issue, please be online at our live support so that it will be easy for both of us to solve issue