Dears,
How to make menu in a template "demo business" to change the class of current primary menu <li> during the scrolling content?
Like in one-page demo.
Best regards.
4 replies · opened Oct 6, 2017
Dears,
How to make menu in a template "demo business" to change the class of current primary menu <li> during the scrolling content?
Like in one-page demo.
Best regards.
Hello,
This is Definitely Possible but there are 2 requirements to make this work properly:
- [Home](#section-home)
...
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Thank you for reply.
I've tried to make that way but the menu doesn't change while scrolling the page.
Construction:
- [Home](#wrapper)
- [Услуги](#section-services)
...
and
...
<div id="section-services" class="center col-md-8 col-md-offset-2 bottommargin">
...
</div>
`
When click on menu item it scrolls, but the menu item doesn't change to .current class.
Hello,
Thanks for your Patience!
As we have mentioned earlier, you will need to add the .page-section Class to the One Page Sections. Example:
...
This should definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Now it works!
Thank you!))
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard