menu with jump scrolling

Hello,

I've applied the "below slider with split menu" header to my website and have a few questions:
http://reify.nyc/

1. Is it possible for the menu items to be highlighted on the sticky navigation as you scroll down the page? Currently, demo is selected consistently until you reach near the bottom of the page. If you select a menu item, "demo" still remains selected.
https://www.evernote.com/l/AITGQAC3FSJFFrIGBybqoji6dd761nH6veM

2. I'm using the following CSS to offset the anchor tags but this shows up inconsistently when I view the site in Chrome while logged in through WP vs in an incognito browser window. How can I make it align consistently?
https://www.evernote.com/l/AITHznuidAVL1Y8dOKl2lK0kIJ-Y2pWZGJU
a.anchor {
    display: block;
    position: relative;
    top: -160px;
    visibility: hidden;
}

3. Is it possible to have the menu item scroll to the top of the page above the slider? I tried using the #top ID but it jumps rather than scrolling? Would it be possible to put an anchor above the slider?

4. In the slider, I have a link to the #about ID directly below the slider. Would it be possible to have it scroll to this anchor rather than jumping there?

Comments

  • Hi,

    1,2. Links are not highlighted because you didn't set ID's for sections. And ID's must be unique for desktop version. And it's the same reason why it does not navigate to proper sections.

    3. For that you should use #Header_wrapper ID.

    4. If you would like to have a smooth scroll, you should set scroll class for such item/link/whatever.
  • 1. I have sections which display on desktop / tablet only, and then sections with the same ID which display on mobile only. I used the same IDs so the menu on both desktop / tablet and mobile would go to the jump links. Is there another way to do this so the IDs are all unique?

    2. I have used the code below in each of the sections—would you suggest using something else? 
    <a class="anchor" id="section"></a>

    3. I tried using the jump link http://reify.nyc/#Header_wrapper but it only scrolls to the section below the slider rather than above it. If possible, I'd like for the menu link to somehow be able to scroll to the top of the page. 
  • 1. You can not have the same ID for mobile and desktop because ID need to be individual but if you hve the same for mobile and desktop, it means your ID's are duplicate. We are sorry but there is no other way to have individual ID's.

    2. When we say section, we mean SECTION item http://themes.muffingroup.com/betheme/documentation/#section.

    3. Try #mfn-rev-slider then instead.
Sign In or Register to comment.