Tagged: x
-
AuthorPosts
-
May 14, 2016 at 5:28 am #991113
yovo_cgnParticipantHi,
whe i use the one page navigation in full screen
the links jump to the right places.Ob smaler screen or mobile device it jumps to a place 20px higher than intended.
Any idea what we are doing wrong?Kind regards
May 14, 2016 at 5:28 am #991114
yovo_cgnParticipantThis reply has been marked as private.May 14, 2016 at 6:02 am #991147
Nabeel AModeratorHi again,
Thanks for writing in! First add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.x-brand { margin-top: 0 !important; }Instead of giving inner content ID’s you should replace it with section’s ID for example instead of using
#contactusex-section-7Let us know how this goes!
May 14, 2016 at 7:47 am #991215
yovo_cgnParticipantHi,
i changed it to section ids
and inserted the code above.
Didn´t work.Now it doesn´t work in fullscreen mode as well
Kind Regards
May 14, 2016 at 5:11 pm #991600
RadModeratorHi there,
Please add this code to Admin > Appearance > Customizer > Custom > Javascript
jQuery ( function( $ ) { $(document).ready ( function() { setTimeout ( function() { $('.x-navbar .mobile .x-nav li>a').off('touchend touchstart click').on('click', function( e ) { e.preventDefault(); $('html, body').stop().animate({scrollTop: $('#'+$(this).attr('href').split("#").slice(-1)[0]).offset().top },700 ,'swing'); } ); }, 100 ); } ); } );That should reset the offset positioning to zero. Hope this helps 🙂
May 15, 2016 at 12:06 am #991861
yovo_cgnParticipantHi,
this helped with the mobile view (mobile menue)
it is 99% perfect – thx a lot!The code does not affect the fullscreen navigation
Meaning when there is the normal navigation, there is still an offset of about 20px on scrolling down.
– Best to see at “about us” or “Testimonials”Kind Regards
May 15, 2016 at 3:14 am #991989
Rue NelModeratorHello There,
Thanks for the updates! Please try to increase the navbar top height in your customizer, Appearance > Customize > Header > Navbar and set the “Navbar Top Height” at least 138 pixels.
Hope this helps.
May 15, 2016 at 6:05 am #992140
yovo_cgnParticipantTHX!
That did the trick,Great support as always.
Kind RegardsMay 15, 2016 at 6:44 am #992168
ThaiModeratorYou’re most welcome 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-991113 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
