Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #993791
    Joao
    Moderator

    You are welcome.

    Let us know if there is something else we can help you with.

    Joao

    #993881
    yovo_cgn
    Participant

    Hi
    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-991114

    I 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 20px

    Kind 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

    #994417
    Rahul
    Moderator

    Hey there,

    Can you confirm that no cache is being used on your site right now?

    Thanks

    #994950
    yovo_cgn
    Participant

    Hi,
    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 question

    #994979
    Friech
    Moderator

    Hi 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.

    #995002
    yovo_cgn
    Participant

    Strange –
    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 wrong

    The 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 up

    #995011
    yovo_cgn
    Participant
    This reply has been marked as private.
    #995020
    yovo_cgn
    Participant
    This reply has been marked as private.
    #995026
    yovo_cgn
    Participant

    Sadly 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 Regards

    #995122
    Christian
    Moderator

    Glad we could help. 🙂

  • <script> jQuery(function($){ $("#no-reply-993077 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>