Asking to recommend a product (plugin, theme, book, hosting provider), tool, library, or off-site resource is out of scope for this site, as it attracts opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 6 years ago.
Improve this questionI would like to implement the type of anchor scrolling as used on this site Oath on a Wordpress website. I have found a plugin that works when you click on the anchor links, but none so far that works with the mouse wheel or when you scroll back up.
I need a code-snippet or Wordpress plugin that implements anchor-based mouse-wheel scrolling for scrolling up and down a Wordpress site.
Closed. This question is off-topic. It is not currently accepting answers.Asking to recommend a product (plugin, theme, book, hosting provider), tool, library, or off-site resource is out of scope for this site, as it attracts opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 6 years ago.
Improve this questionI would like to implement the type of anchor scrolling as used on this site Oath on a Wordpress website. I have found a plugin that works when you click on the anchor links, but none so far that works with the mouse wheel or when you scroll back up.
I need a code-snippet or Wordpress plugin that implements anchor-based mouse-wheel scrolling for scrolling up and down a Wordpress site.
Share Improve this question asked Oct 19, 2018 at 16:31 Black KnightBlack Knight 134 bronze badges 7- Can you describe the desired effect a little more? I can't see anything obvious on that site when I scroll. – BruceWayne Commented Oct 19, 2018 at 18:22
- The site scrolls row to row by the anchors, whether scrolling up or down. To reach the next section, you either click on the anchor link or scroll with the mouse wheel, with both having the same effect of taking you to the next anchor link. Its best seen on the desktop version. Its the mouse wheel anchor scrolling I am unable to implement. – Black Knight Commented Oct 19, 2018 at 20:18
- Essentially, I want to implement smooth scrolling to the next anchor link (up or down) when a user scrolls with the mouse wheel. – Black Knight Commented Oct 19, 2018 at 20:30
- Does this plug-in help? What have you tried, I saw some ideas just Googling for "WordPress scroll to anchor". – BruceWayne Commented Oct 19, 2018 at 21:57
- 1 This is a JS frontend question, it has very little to do with WP if anything at all. E.g. this could be a Joomla site and it would still be the same question. Additionally, recommendations are not in scope here – Tom J Nowell ♦ Commented Oct 20, 2018 at 21:42
1 Answer
Reset to default 2If you're developing a custom theme, then you could perhaps take a look at pagePiling.js on GitHub. I bumped into this js library some time ago and I think you should be able to achieve the effect you've described with it.
Some pagebuilder plugins might have a similiar feature incorporated in them, but I'm not quite sure. You have to do some research on this one yourself.
But, if you're just looking for some copy-and-paste solution, then I'm afraid you might be out of luck. Unless you end up using that fullpane theme you linked on one of your comments.