Support » Plugin: Page scroll to id » Fixed Navigation Menu Problem

  • Hi! I did put the class of my fixed menu in the Offset field.

    Here’s what’s happening..

    1. Offset value is set to the fixed nav class “.fixed” ( I’m at the very top of the page and i click one of the anchor links )

    Navigation overlaps the content, but when i click an anchor link again on the fixed menu. It works just fine.

    But again, if i click an anchor link at the very top of the page without the menu being fixed.. it overlaps.

    2. Vice versa ( Offset value is set to the not-fixed nav class “.not-fixed” )

    Navigation overlaps the content, but when i click an anchor link again on the NOT fixed menu(VERY TOP OF THE PAGE). It works just fine.

    But again, if i click an anchor link on the fixed menu with the menu being fixed.. it overlaps.

    ******************************

    Additional Question: maybe something like this needs an if statement?
    If yes, on what file can i edit and how?

    https://wordpress.org/plugins/page-scroll-to-id/

Viewing 1 replies (of 1 total)
  • Plugin Author malihu

    (@malihu)

    You’re probably applying the .fixed class on-the-fly so the top space of your navigation is removed when you click the link the first time.

    The ‘Offset’ value should not contain the .not-fixed class as it’s not needed (when menu is not fixed, it doesn’t need an offset while scrolling).

Viewing 1 replies (of 1 total)
  • The topic ‘Fixed Navigation Menu Problem’ is closed to new replies.