Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: CLS issue color section #1487460

    Hey Ismael

    Thank you very much for your reply.
    The LCP issue is gone, that was the next thing on my list :-)
    My main concern is the CLS issue on desktop. Managed to fix it with 100vh height (i think) but since I have added the media query to have a different color section for IpadPro I can´t get rid of the bad CLS score. The 100vh solution makes the dektop version higher then 100vh and I am running out of ideas.

    My CSS regarding this color sections:
     /* Color section container width and height  */
    
    /* DESKTOP  */
    
    .cjs-titel-keil-container .container {
      width: 100% !important;
      min-width: 100%;
      min-height: 80vh;
      padding: 0;
      margin-right: -1px;
      magin-top: -1px;   
    }
    
    @media only screen and (min-width: 1025px) {
    .cjs-titel-keil-container-ipadpro {
      display:none !important;
    }
    }
    
    /* IPADPRO  */
    
    .cjs-titel-keil-container-ipadpro .container {
      width: 100% !important;
      min-width: 100%;
      padding: 0px;
      margin-right: -1px;
      magin-top: -1px;   
    }
    
    @media only screen and (max-width: 1024px) {
    .cjs-titel-keil-container  {
      display:none !important;
    }
    }

    Thank you for your Help
    Best regards,
    Christopher

Viewing 1 post (of 1 total)