space apearing below header when admin bar is visible
-
Since the update to v8.0, I am seeing an extra space below the header which is visible in the logged in status. The height of the offset/space appears to be identical to that of the WP admin bar. Why is this happening, and how can I remove/hide this?
Attachments:
You must be
logged in to view attached files.
Hi,
This issue is caused by custom code located in your child theme. Try removing this code or activating the parent theme and testing again.
Kind Regards
No custom code has been added or modified in between theme upgrades. Could you specify which code is affecting this and why it has not occured prior to V8.0? I cannot locate the issue myself.
The specific issue with your header is due to the absence of the wd-page-wrapper class in one of the key wrapper elements on your site, which was added in the latest theme update. For reference, here is the correct structure from our demo site (screenshot https://monosnap.com/file/upEjCPjnDZtAJP7Hgd6xdlaGkPW1pa).
This class is missing because the header.php file in your Child theme has been customized (screenshot https://monosnap.com/file/K41d0N46UsE3vPuGdoT5Ms4uHf7vnp).
To resolve this issue, you need to either update or remove the custom code from your website.
Kind regards
Thanks a lot! Per your indictaion, I changed <div class="website-wrapper"> to <div class="wd-page-wrapper website-wrapper"> and the problem is solved.
We are glad you found a solution to your issue. Feel free to reach out if you encounter any difficulties.