By default, the platform does not have this option. You can use the following CSS code and Javascript to make the LearnDash pagination sticky/float.
Please follow the steps for the CSS code below:
1. Go to BuddyBoss > Theme Options
2. Under Custom Codes, enable CSS
3. Append the following:
.learndash_next_prev_link.sticky{ position:fixed; top: 125px; right: 100px; z-index: 9; }
4. Save changes
Please follow the steps for the Javascript code below:
1. Go to BuddyBoss > Theme Options
2. Under Custom Codes, enable Javascript.
3. Append the following:
jQuery( document ).ready( function(){ jQuery(window).on('scroll', function(){ if($(window).width() > 1199){ if ( jQuery(window).scrollTop() > 80 ) { jQuery('.learndash_next_prev_link').addClass('sticky'); } else { jQuery('.learndash_next_prev_link').removeClass('sticky'); } } }); });
4. Save changes
Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.