How to make a specific share area sticky on scroll?
-
Hi. I have placed this code:
<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>
under the featured image and now I want to make that position sticky when the visitor scrolls past it. Here is an example of what I’m talking about. The vertical floating share buttons code doesn’t work in this case because it becomes sticky as soon as the page loads.
Can you help me by giving me the code to make it work?
- The topic ‘How to make a specific share area sticky on scroll?’ is closed to new replies.