• Resolved Shirley Alarie

    (@shirley-alarie)


    I haven’t updated settings in LSC for quite a while, but just noticed my mobile view is showing a string of code above the header of all my website pages (at least the ones I’ve checked). Desktop is fine. I disabled LSC and the problem goes away. In the page builder, when I preview the mobile view, this code isn’t shown.

    The code is: @media (min-width: 1025px){body .uag-hide-desktop.uagb-google-map__wrap,body .uag-hide-desktop{display:none !important}}@media (min-width: 768px) and (max-width: 1024px){body .uag-hide-tab.uagb-google-map__wrap,body .uag-hide-tab{display:none !important}}@media (max-width: 767px){body .uag-hide-mob.uagb-google-map__wrap,body .uag-hide-mob{display:none !important}}Skip to content Finding God

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter Shirley Alarie

    (@shirley-alarie)

    Thank you for your response. Report number CDKTHGQG.

    asfly

    (@asfly)

    Can you try to disable CSS minify or HTML Minify and then do a Purge All action from the LiteSpeed hover?

    Let us know if this helps you.

    Thread Starter Shirley Alarie

    (@shirley-alarie)

    Disabling CSS Minify did not correct it, but disabling HTML Minify did correct it – thank you! Will leaving this disabled affect my site or speed?

    Plugin Support qtwrk

    (@qtwrk)

    HTML minify will remove whitespace and line-break from the HTML source code , the impact should be minimal , like save few KB size

    Thread Starter Shirley Alarie

    (@shirley-alarie)

    While the displayed view in mobile is now showing correctly, the LCP is too slow and is showing the following element as the current LCP in pagespeed insights:

    body.home

    <body itemtype="https://schema.org/WebPage" itemscope="itemscope" class="home page-template-default page page-id-156 ast-header-break-point ast-sep…" style="overflow: visible !important;">
    
    

    The image that’s shown for the LCP in pagespeed insights looks like the entire mobile page (a very long thin line of images and text) – but I can’t expand it to see it clearly.

    This seems to be related to my prior ticket in that the info in the mobile header seems to still be causing issues. Will you please confirm and advise a possible fix? Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘code in header of mobile view’ is closed to new replies.