presscustomizr / customizr

Simple and fast WordPress theme designed to help you attract and engage more visitors. Provides a perfect user experience on smartphones. Powers 100k+ active sites around the world. Hundreds of 5-stars reviews received on WordPress.org.
https://presscustomizr.com/customizr
Other
137 stars 66 forks source link

[header] top offset issue when user logged in. #1888

Closed ghost closed 3 years ago

ghost commented 3 years ago

https://secure.helpscout.net/conversation/1405770159/224630?folderId=607541

cause : czrapp.$_header.css('top' , self._get_top_offset() );

get_top_offset method doesn't check if the returned value is a number, and when there's no admin bar, it returned undefined.