Tagged: mobile menu anchor
Hi Guys,
I’m mocking up a new site for a client. I have anchors for two color sections, about and contact.
The contact anchor is the same on the desktop and mobile.
The about anchor however leads to a color section which is different on the desktop and mobile. I need it scroll to the about section on the mobile version. It does scroll to contact obviously as thats the same on both versions.
So I made a separate menu for the mobile version and used the anchor #about-mobile whereas the desktop uses #about. The about section hides from the larger screens on the mobile version and likewise the desktop hides the smaller screens.
Thought I was being very clever, however the mobile menu doesn’t scroll to the about-mobile anchor but does to the common #contact anchor.
I can’t figure out why it doesn’t work. If it in fact can’t work that way is there another way of pulling this off?
Thanks so much.
Hey tonyiatridis,
I see that you have two about sections about-mobile & about but on mobile the about is hidden and there is no about-mobile
Please check.
Best regards,
Mike
The about mobile color section is hidden on large screens and the anchor is about-mobile, whereas the about color section is hidden from small screens and the anchor is about.
Hi,
Thanks for the update. It looks like you didn’t change to the mobile menu under Enfold->Main Menu->Alternate Menu For Mobile?
Best regards,
Rikard
Hi Rikard,
Okay, now I feel like an idiot. I thought I had, good catch. pal.
Tony
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike