Skip to content

Positioning on the pages with Wordpress admin bar (and fix for it) #91

@mgongee

Description

@mgongee

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
	});
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions