[BUG] Top header enabled responsive issue
-
I had the issue that with the top header enabled that on mobile devices the navigation would get a
top: 46px;
which shouldn’t happen because the top header is hidden on mobile devices. This makes the navigation on mobile devices very awkward.The bug is in flash.js where on line 117 it checks if there is a
length
for thewpAdminBar
where it should check onheight
as the length is in fact existing but the height isn’t. Could this be officially patched?If you have issues with this and want the fix now then on line 117 of flash.js change
wpAdminBar.length
towpAdminBar.height
then copy the entire script and go to https://javascript-minifier.com/ to minify this. Then put the minified version at flash.min.js to have this fixed.
- The topic ‘[BUG] Top header enabled responsive issue’ is closed to new replies.