Super light and easy to setup links that scroll the page smoothly to any id…
| Author: | DlaWP.pl (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 5.3.8 |
| Plugin version: | 0.2.1 |
| Added to WordPress repository: | 04-02-2020 |
| Last updated: | 10-02-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | |
| Total downloads: | 573 |
| Active installs: | 10+ |
![]() Click to start download |
|
Usage
Add HTML id attribute to element you want to scroll to.
Example:
<h1 id="your-anchor">Header we will be drawn to smoothly!</h1>
Now add hash to href attribute and class sl-animated-scroll to an A tag or element containing A tag.
Example:
<a href="#your-anchor" class="sl-animated-scroll">
Get me smoothly to my anchor!
</a>
Try it.
How to hook menu / nav links?
-
Go to Appearance -> Menus.
-
Make sure you have enabled classes in Screen Options (top right corner).
-
Create new Custom Link
-
Add your anchor in URL of the custom link:
/#your-anchor -
Insert special class to the custom link:
sl-animated-scroll -
Save and try it!
Support
If any problems, questions or suggestions please contact us at support@dlawp.pl
GitHub: https://github.com/dlawp/wp-plugin-super-light-animated-scroll
