Home Forums WoodMart support forum Header not visible on first page load in Chrome (homepage only)

Header not visible on first page load in Chrome (homepage only)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #690484

    zilabs.it
    Participant

    Hi,

    I’m experiencing an issue where the header (logo, search bar, and menu) is not visible on the homepage when the site is opened for the first time in Google Chrome.

    On the initial page load, the header area seems completely hidden — it looks like it has opacity: 0 or visibility: hidden.
    After navigating to any other page, the header appears normally and keeps working correctly everywhere, including the homepage if I go back to it.

    The problem seems related to how the header or sticky header initializes in Chrome on the first load, possibly before JavaScript has finished running. It does not happen in other browsers as far as I can tell.

    To help you investigate, I’m attaching:
    • The HTML source code of the homepage where the header is hidden ( https://pastebin.com/VivPbXZb )
    • The HTML source code of the same page when everything works normally ( https://pastebin.com/k1FznpP9 )
    • A DiffChecker link showing the differences between the two versions ( https://www.diffchecker.com/IUcIQIo8/ )

    It looks like some classes or inline styles are missing or not applied during the first render in Chrome.

    Could you please check if this is a known issue or if there’s a fix/workaround for proper header initialization on the first load?

    Thank you for your help!

    Attachments:
    You must be logged in to view attached files.
    #690486

    zilabs.it
    Participant

    This is screenshot: https://snipboard.io/M9PVpg.jpg

    Header not visible on first load in Chrome (intermittent issue)

    #690714

    Hung Pham
    Participant

    Hi zilabs.it,

    Thanks for reaching to us and appreciate your patience.

    You should disable Mobile DOM optimization (experimental) option in Theme Settings > Performance > Other and double check. https://prnt.sc/NEd76ZnsfTVD

    If it doesn’t help, in order to assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Best Regards,
    Hung PD

Viewing 3 posts - 1 through 3 (of 3 total)