Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top menu (Scrollspy) problem with Firefox #92

Closed
prassaschr opened this issue Oct 22, 2017 · 2 comments
Closed

Top menu (Scrollspy) problem with Firefox #92

prassaschr opened this issue Oct 22, 2017 · 2 comments

Comments

@prassaschr
Copy link

Hi.
If you try the demo with a browser other than Chrome you 'll notice that there is a problem with the top menu (Scrollspy).
I you play a little with that you will see that if you click on the "Services" the "About" href will be active, or if you click on the "Portfolio" the previous one will be active.
Anyway... something is going on with the active top menu.

Thank you.

@prassaschr
Copy link
Author

I think I found a solution to the problem...
In the creative.js and creative.min.js
Change the offset from 48 to 60 in both files:
Now the behavior is the same in all browsers. Please check it for your self

// Activate scrollspy to add active class to navbar items on scroll
$('body').scrollspy({
target: '#mainNav',
offset: 48
});

@davidtmiller
Copy link
Member

Thanks for posting this, I just pushed an update with some user-submitted scrollbar fixes so I'll mark this resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants