Menu link not scrolling to target position

Home Forums Himalayas Free Menu link not scrolling to target position

This topic contains 5 replies, has 3 voices, and was last updated by  Nitu Shrestha 4 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1400180

    santiago.chiong
    Participant

    Hi,

    I’ve been using Himalayas as a base template for a singe page site, and made the menu navigation’s background transparent.
    As the menu had some height with background, the scroll is set up considering this. Therefore, the scroll goes to the #section target, but then goes up a few pixels to align menu with content.

    Then, my menu navigation is not scrolling to the beginning of the #target, but 32px less that it should, showing the desired section and a piece of another.
    I guess the issue is in jquery.nav.js, wich I’ve tried editing, but with no success.

    What can I do to edit that scroll?

    You can see the site working here: https://masverde.cl/santiagochiong/

    #1400331

    Nitu Shrestha
    Moderator

    @santiago.chiong

    It will require lots of code customization work which cannot get covered up via any support platform. Hope you can understand.

    Thanks.

    #1400363

    santiago.chiong
    Participant

    Hi Nitu,

    Thanks for your reply. I understand, it’s a free template. I cannot expect advanced support.

    Anyways, maybe we can figure it out another solution. What if I use my own anchor link scroller?
    To do so, may I ask… it’s enough to delete the jquerynav.js and the one page navigation from himalayas.js?

    #1400454

    Bishal Napit
    Moderator

    @santiago.chiong

    If you can code on your own then, you can do so via the child theme as you need for your site. Thanks.

    #1401483

    santiago.chiong
    Participant

    Hi there,

    I figured out what happened. It was working correctly. The issue was that I hid the wordpress top bar, therefore, as I was logged in, the scroll to targets goes to the target and adjust to the size of top bar.

    Thanks anyways!

    #1401555

    Nitu Shrestha
    Moderator

    @santiago.chiong

    Do let us know if you have any further query regarding to our theme.

    Thanks.

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

You must be logged in to reply to this topic.