Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #654059

    I just wanted to report/check and see if there is a solution to an issue with hellobar and the sub-menus that use the sticky settings.

    You can see if you visit this page: http://bit.ly/28Zh6vg the sticky sub-menu is covered up by the header because of the hellobar.

    Thanks any help much appreciated.

    #655277

    Hey Raleigh,

    Please go to Enfold theme options > Header > Header Behaviour and uncheck “Unstick topbar”

    Best regards,
    Yigit

    #655383

    Yigit – Thanks so much for looking into this. That box was actually already unchecked. I tested it toggled either way with no luck the full-width sub menu still hides behind the header.

    Thanks -Raleigh

    #655387

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .header-scrolled #header_meta {
        display: block!important;
    }
    

    Best regards,
    Yigit

    #655394

    Hey thanks again for looking further and providing the code. I tested it and it resulted in our top bar staying fixed instead of collapsing on scroll as we want it. The hello bar still causes the fullwidth sub-menu to hide behind the header though on the homepage.

    Credentials provided below if you wish to test on your own Yigit. Thanks.

    #656372

    Hi,

    Thank you for the info. Please try this in the Quick CSS field:

    #hellobar-pusher {
        margin-top: -50px;
        margin-bottom: 20px;
    }

    And this code in the functions.php file:

    // custom script
    function add_custom_script(){
    ?>
    <script>
    (function($){
    	function g() {
    		var scrolled = $('.header-scrolled').length;
    		if( scrolled == 1 ) {
    			$('#hellobar-pusher').css('display', 'none');
    		} else {
    			$('#hellobar-pusher').css('display', 'block');
    		}
    	}
    
    	$(window).scroll(function() {
    		g();
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');
    

    Best regards,
    Ismael

    #657662

    Thanks, I was not able to test this yet but will absolutely reach out once I do and let you know if it works. Thanks again! -Raleigh

    #657946

    Hi,

    Great, we’ll keep the thread open in case you should have any further problems or questions.

    Thanks,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.