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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.