Positioning on the pages with Wordpress admin bar (and fix for it)
mgongee opened this issue · 0 comments
mgongee commented
I ran into a problem where the positioning was incorrect on pages with Wordpress admin bar. Here is a little fix for that ( to place at the end of the that.updateSC
function: )
if ( document.getElementById('wpadminbar') ) {
that.sc.css({
top: that.offset().top + that.outerHeight() - 33
});
}