Tagged: x
-
AuthorPosts
-
May 16, 2016 at 10:30 am #993791
JoaoModeratorYou are welcome.
Let us know if there is something else we can help you with.
Joao
May 16, 2016 at 11:35 am #993881
yovo_cgnParticipantHi
sry, during this prozess another (old error) occured again.I had some problems before, that the one page nav doesn´t jump to the right place ..
https://community.theme.co/forums/topic/one-page-nav-hookpoints-on-mobile-devices-change/#post-991114I had the js code posted below to fix that problem
When the js code is online:
Fullscreen: I have to clear my browser cache,
and can load the page 1 time – everything works ..
If i reload page the js doesn´t seem to work anymore.Maybe i messed up the js code?
At the moment there is no js online.
The fullscreen version works fine..
But if you use mobile, the hookpoints differ by around 20pxKind regards
Former JS code- fix for mobile device view:
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 );
} );
} );
P.s. the script works for mobile
May 16, 2016 at 4:30 pm #994417
RahulModeratorHey there,
Can you confirm that no cache is being used on your site right now?
Thanks
May 17, 2016 at 12:19 am #994950
yovo_cgnParticipantHi,
sry for the dump question,
but how do i disable/enable cache in wordpress?Kind Regards
P.s. i have no cache plugin running- or ever had .
if that is the questionMay 17, 2016 at 12:58 am #994979
FriechModeratorHi There,
We’re referring to a caching plugin or internal caching feature. I can’t replicate the issue on my end. I did refresh the page many times but the One page navi still works fine.
Try to clear your browser’s cache, you can follow this post for clearing browser’s cache.
And please update your MailChimp plugins as you already the latest WordPress to avoid any compatibility issue.
Thanks.
May 17, 2016 at 1:39 am #995002
yovo_cgnParticipantStrange –
i have to recheck from a new device to make sure ..The problem only occures on mobile device view.
Once the mobile menue is active
The scroll position is wrongThe javascript posted above was the workaround – this script is deactivated at the moment.
If i activate the script the mobile version works, but the full screen version is messed upMay 17, 2016 at 1:49 am #995011
yovo_cgnParticipantThis reply has been marked as private.May 17, 2016 at 1:51 am #995020
yovo_cgnParticipantThis reply has been marked as private.May 17, 2016 at 2:00 am #995026
yovo_cgnParticipantSadly or happyly 🙂
I´m not able to make screenshots which show the error in full size view.
I´m confused.
But as long as it stays this way i´m very happy.
Confused & happy 🙂
Sry for the time
Kind RegardsMay 17, 2016 at 3:57 am #995122
ChristianModeratorGlad we could help. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-993077 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
