Questions tagged [cls]

A Common Language Specification (CLS) defines how computer programs can be turned into bytecode

90 questions
0
votes
0 answers

Dinamic table with inside div causes Cumulative Layout Shift. Why?

This is the part of my code:

Header

Sample: some text.
0
votes
2 answers

class or static method - python

I want to understand in my case if I should use static or class method. The idea: I'm not editing any class variable, but I'm using this variable. example 1: class RandClass(): static_variable = "some rand value to static variable" …
amit
  • 71
  • 2
  • 10
0
votes
1 answer

css3-mediaqueries-js causing big CLS (Cumulative Layout Shift)

According to Google Search Console and Chrome Lighthouse, my website is experiencing a very late cumulative layout shift (CLS), although it was never noticeable to me in normal use. After spending a day tracking it down, it seems to be originating…
JerSchneid
  • 5,817
  • 4
  • 34
  • 37
0
votes
1 answer

Need Help: Can you identify the Desktop CLS (Cumulative Layout Shift) on my URL?

URL: tinyurl.com/36utmdnc In Google Search Console, I am seeing thousands of errors for Core Web Vitals, particularly the CLS in Desktop mode. I've made a number of changes, such as removing all ads, tweaking the CSS, HTML and other code. I've been…
0
votes
1 answer

Adressing CLS (Google page speed)

So im trying to address CLS on my webshop: www.jupiter.dk It's a template with bootstrap, and responsive layout. CLS requires me to have a set hight and width on all images. But if i do that, they are no longer responsive?
0
votes
1 answer

Why is there a CLS problem with real user data but not with the lab data?

when I test the page in DevTools, there is no problem with CLS. But, with pagespeed-insights there appears a difficulty with the mobile page CLS. Not for the lab data, but only for the real…
0
votes
0 answers

CLS with Adsense Funding Choice

I have been struggling to get the CLS value down. CLS on my websites is mostly caused by Adsense ads and Funding Choice consent manager. The funding choice consent notification causes CLS. It seems to load some icons which shift the content down.…
0
votes
1 answer

Why h2 get CLS > 100 - h2 is on category page Prestashop

(mobile page) CLS checker for chrome and metrics show bad element h2 on category page? Why? I know how CLS works, but in this case I have no idea why I have CLS so high. The bad result is also visible in the GSC shop cavaricci
0
votes
1 answer

Does CLS penalize websites using animated HTML elements?

A lot of online games use animations of HTML elements as a core gameplay mechanics. For example, a solitaire game may have a DIV element or an IMG element for every card on the gameboard. Players drag and drop these cards across the board, and the…
Amadeus
  • 11
  • 1
0
votes
0 answers

High CLS Product Page - need Ideas

i started my online shop a few months back and since im not a programmer i finally reached a point where i need help. I was trying to improve Pagespeed according to Google and i managed to get the CLS of my Index page to almost 0. - Lazyload, System…
0
votes
1 answer

How to deal with CLS score with div elements? (web vitals)

I'm running an online store on prestashop. I've already handled all of the necessary adjustments for images and videos and I'm working on minimizing loading time, however I've noticed that a lot of my CLS score comes from the main div containers on…
0
votes
0 answers

Clear python console command histories

'Cls' or 'clear' command doesn't work in my windows VSC console. When I using mouse to scroll the terminal in VSC, the lines still have a lot. Any advice for me? Thanks
Bright
  • 11
  • 2
0
votes
1 answer

How do I export data in each variable respectively from Firebase Realtime Database using command line

I have already read these scripts How do I export data from Firebase Realtime Database? but this method allow me to download whole data from indicated URL. In my case, I just want to download from "https://*****.firebaseio.com/aaa/bbb/ccc", how can…
KurayamaT
  • 11
  • 1
0
votes
1 answer

CLSCompliant hint not working for C# code

My target framework is .NET 5 and type of application is Console. I am using Visual Studio 2019 version 16.10.1 as an IDE. I wanted to see if I indeed get a warning if I use CLSCompliant hint in my C# code and purposely violate CLS compliance. The…
Dhiraj
  • 3,396
  • 4
  • 41
  • 80
0
votes
0 answers

1 section causing massive CLS

edit: I realise it's probably an issue with position-relative. But not sure how to edit it, changing to sticky, absolute, fixed hurt more than helped. edit2: The page is the homepage, https://credence.co.uk I have been optimising a website for…