Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • erikvanmileghem Friend
    #203524

    Starting from Ja Nuevo quickstart…

    I added some anchors on modules on the front page, however, i have two issues:
    1. (on desktop) Scrolling to those anchors from a main menu link (#anchor1 for example) is not smooth – it just jumps to the anchor. How do i best proceed to implement the smooth scrolling? (similar to the back to top scroll up, smooth)
    2. (on mobile, or desktop/resized) Main menu links to #anchors, dont work at all on the mobile side menu, simply – nothing happens on click on the menu item on the mobile side menu. How to solve this?

    Thanks in advance!

    Eragon H Friend
    #558660

    Can you provide the Site URL and temporary admin account, so I can have a look on your site

    erikvanmileghem Friend
    #558735

    Hi,
    i have sent you a pm…

    Thanks for looking!

    Eragon H Friend
    #558769

    1. Smooth scrolling
    a. Add this code to the file root/templates/ja_nuevo/js/scripts.js


    //Smooth scrolling for anchor
    (function($) {
    $(document).ready(function(){
    $('a').click(function(){
    $('html, body').animate({
    scrollTop: $( $(this).attr('href') ).offset().top
    }, 500);
    return false;
    });
    });
    })(jQuery);

    b. Change the anchor in your code
    From
    <a name=”anchor1″> Your text </a>
    To:
    <a id=”anchor1″> Your text </a>

    2. You have to assign the category News to a Menu items.

    erikvanmileghem Friend
    #558803

    Hi, Eragon H,
    thank you very much, i will try out this and get back to you here in case of further issues.

    erikvanmileghem Friend
    #558832

    Hi Eragon H,
    the smooth scrolling and the layout on News items is now OK.

    However – the mobile menu is still not working for the anchor links – could you help me solve this too?

    “2. (on mobile, or desktop/resized) Main menu links to #anchors, dont work at all on the mobile side menu, simply – nothing happens on click on the menu item on the mobile side menu. How to solve this?”

    Thanks!

    erikvanmileghem Friend
    #558847

    I opted to use T3 mobile menu instead of the template one…

    Eragon H Friend
    #558853

    Yes. I checked and forward this issue to our development team. You can check the progress here: http://pm.joomlart.com/browse/JATCNUEVO-109

    While waiting our development team check this bug. You can use the Bootstrap menu for mobile

    marty harty Friend
    #576614

    Hi Eragon,

    Part 2 of the initial question seems still unsolved. It looks like the dev team closed the bug based on this thread.

    It would be really cool if the Nuevo template could perform onepage and subpage in off-canvas sidebar menu.

    I did put an additional close tag in t3 script, but the scroll is only reliable from top home… can we solve this?

    Thanks,

    Marty

    marty harty Friend
    #642927

    Hi Eragon,

    Part 2 of the initial question seems still unsolved. It looks like the dev team closed the bug based on this thread.

    It would be really cool if the Nuevo template could perform onepage and subpage in off-canvas sidebar menu.

    I did put an additional close tag in t3 script, but the scroll is only reliable from top home… can we solve this?

    Thanks,

    Marty

    marty harty Friend
    #741584

    Hi Eragon,

    Part 2 of the initial question seems still unsolved. It looks like the dev team closed the bug based on this thread.

    It would be really cool if the Nuevo template could perform onepage and subpage in off-canvas sidebar menu.

    I did put an additional close tag in t3 script, but the scroll is only reliable from top home… can we solve this?

    Thanks,

    Marty

    Ninja Lead Moderator
    #576785

    @marty harty: I checked from our demo from this link here on mobile device but I could not see the link change to #anchors of you mentioned above.

    Can you help me to check it and give me the screenshot and description on that to see this bug? I will help you to check it further.

    Ninja Lead Moderator
    #643098

    @marty harty: I checked from our demo from this link here on mobile device but I could not see the link change to #anchors of you mentioned above.

    Can you help me to check it and give me the screenshot and description on that to see this bug? I will help you to check it further.

    Ninja Lead Moderator
    #741754

    @marty harty: I checked from our demo from this link here on mobile device but I could not see the link change to #anchors of you mentioned above.

    Can you help me to check it and give me the screenshot and description on that to see this bug? I will help you to check it further.

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 4 voices, and was last updated by  Ninja Lead 9 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum