Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1260191
    Starsocks
    Participant

    Hi there!

    At the beginning I would like to say that your template is just awesome!

    Till now I’ve got only one little problem and it shows up only on some devices.
    My menu have some anchors working perfectly on any large screens. But on mobile devices I get strange offset above after using any of them . Same problem you can spy in mobile view at chrome – added as an attachment.

    How could I fix it? Is it a problem with “small screens” CSS version?

    Site URL: http://vr.starsocks.eu/

    #1260511
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! I can confirm that there is a few space with the section scrolling when viewed in smaller screens. TWould you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.

    #1260743
    Starsocks
    Participant
    This reply has been marked as private.
    #1260839
    Rad
    Moderator

    Hi there,

    Please add this code to Admin > Appearance > Customizer > Custom > Javascript

    jQuery(function($){
    $(document).ready ( function() {
      $('.x-nav-wrap.mobile > .x-nav > li:not(.pll-parent-menu-item) > a').off('touchstart touchend click').click(function(e){
        e.preventDefault();
       console.log('clicked');
        $('html,body').stop().animate({
          scrollTop: $('#' + $(this).attr('href').split("#").slice(-1)[0] ).offset().top
        },700 ,'swing');
      });
    } );
    });

    Hope it helps.

    #1260919
    Starsocks
    Participant

    Thank you for help πŸ™‚

    It works now just perfect on mobile, but… only for the main site.
    At the subpage whole menu doesn’t work right now πŸ™

    Subpage adress: http://vr.starsocks.eu/en/our-services/

    #1261264
    Jade
    Moderator

    Hi there,

    Please create a separate menu for the subpages and assign it in the page settings for the inner pages.

    Hope this helps.

    #1261406
    Starsocks
    Participant

    Hi,

    Perhaps, where should I look for such possibility of assignment?

    #1261970
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! Your link will only work for the homepage because it is intended as one page navigation. The proper way of doing the one page navigation is to create two separate menus. One menu should be use as your primary and the second one will be use exclusively for one page navigation menu which can be assign for that home page or any other page alone. To know more about one page navigation, please check this out: https://community.theme.co/kb/how-to-setup-one-page-navigation/, https://community.theme.co/kb/meta-options-pages/

    Hope this explains it.

    #1263047
    Starsocks
    Participant

    Hi,

    All clear. Thank you πŸ™‚
    This theme with such multiple possibilities od configuration is just amazing.

    #1263254
    Prasant Rai
    Moderator

    Glad to hear that, feel free to get in touch with us regarding any further queries about the X Theme and Cornerstone.

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