1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Menu button CLS issue

Discussion in 'Free Divi Community Forum' started by ABen, May 14, 2023.

  1. ABen

    ABen New Member

    Hi guys, new here. After a little bit of advice/help if I can please.

    I'm currently working on my website on a staging site before pushing live. I have a button in the header menu from divi pixel that seems (I think) to be causing a flash/cls issue on the page load. Previously I was using the divi builder to make the header but scrapped that after finding too many issue and am instead using the standard header with some modifications from divi pixel/custom css + wp front notification bar. Also using WP rocket and perfmatters.

    Without the button I seem to be getting a better performance score on desktop - in the 90s. With the button it's dropped into the 80s. I'm getting the flash/quick rearrange of the page as it loads and it seems to be logging as a bigger CLS number in google web vitals/gt metrix.

    Any ideas on a workaround? I've tried: https://www.markhendriksen.com/how-to-fix-divi-flashing-unstyled-content-on-page-load/ but it doesn't seem to help me. Ideally I would like to keep the shop button in the menu.

    Thanks guys.

    https://actiontkd1dev.wpengine.com/
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You may try the below & see if it works:

    upload_2019-2-8_22-30-32 (1).png