Tagged: x
-
AuthorPosts
-
March 2, 2017 at 3:47 pm #1392446
kpundykParticipantJust trying to figure out how to fix the menu scroll-to point when the menu goes to a mobile / hamburger icon. For some reason, it is not taking me to the top of each section – almost like there is a fixed height header it is scrolling too. Ideas on how to fix?
Take a look https://kor2inc.wpengine.com/ (only applies to browser sizes that trigger mobile menu).
March 2, 2017 at 10:56 pm #1392905
RupokMemberHi there,
Your sections have large padding on top and I guess that’s why you are not getting expected result on mobile.
Thanks!
March 3, 2017 at 3:54 pm #1393801
kpundykParticipantThis reply has been marked as private.March 3, 2017 at 4:02 pm #1393805
kpundykParticipantThis reply has been marked as private.March 3, 2017 at 11:05 pm #1394106
kpundykParticipantThis reply has been marked as private.March 4, 2017 at 1:42 am #1394195
RadModeratorHi there,
Please add this CSS to Admin > Appearance > Customizer > Custom > CSS
@media ( max-width: 979px ) { .masthead { min-height: 65px; } .x-navbar-fixed-top { top: 0; left: 0; right: 0; position: fixed; } }Then add this to Admin > Appearance > Customizer > Custom > Javascript
jQuery( document ).ready( function($) { setTimeout( function() { $('.x-one-page-navigation-active .x-nav-wrap.mobile a').off('touchstart touchend tap').on('click', function() { $('.x-btn-navbar').trigger('click'); } ); }, 1200 ); } );Hope this helps.
March 4, 2017 at 1:19 pm #1394550
kpundykParticipantIt works only when you are clicking to a navigation item that is above the first one you click.
For example. I clicked to How It Works and it scrolled way to far into the section. But then if I clicked the menu item above it scrolled to that position properly. Very odd.
Like it works but only if you are selecting a menu item that is above the one you are on presently.
Ideas?
March 5, 2017 at 4:37 am #1394937
RadModeratorHi there,
Would you mind providing your login credentials? I don’t see it being implemented, maybe there is a big difference between implemented directly and just tested with browser developer tools. Need to check it as directly applied.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1392446 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
