this is a customization question, the theme did not have sticky sidebar features. i usually consult this with our donater or supporter only. but i’ll make an exception since its near xmas..hehe..ok..add this in your functions.php or wp-content/meso-custom-functions.php, might need couple of adjustment for the .itfixed css
<?php
function meso_add_sticky_sidebar() { ?>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
var $sd = jQuery;
// grab the initial top offset of the sidebar
var side_offset_top = $sd('#right-sidebar').offset().top;
// our function that decides weather the sidebar bar should have "fixed" css position or not.
var side_navigation = function(){
var scroll_top = $sd(window).scrollTop();
if (scroll_top >= $sd('#right-sidebar').offset().top + $sd('#right-sidebar').outerHeight() - window.innerHeight ) {
$sd('#right-sidebar').addClass('itfixed');
} else {
$sd('#right-sidebar').removeClass('itfixed');
}};
// run our function on load
side_navigation();
$sd(window).scroll(function() {
side_navigation();
});
});
</script>
<style>
.itfixed {width:300px !important; position: fixed; top: 5px; right: 85px;}
</style>
<?php }
add_action('wp_head','meso_add_sticky_sidebar');
?>