説明
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
インストール
- Upload your plugin folder to the ‘/wp-content/plugins’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
FAQ
There are no FAQ just yet.
評価
このプラグインにはレビューがありません。
貢献者と開発者
“Super Light Animated Scroll to id” をあなたの言語に翻訳しましょう。
開発に興味がありますか ?
変更履歴
0.1
- First release