Adlago Posted September 2, 2020 Posted September 2, 2020 Over 1000 CSS errors reported. See this test. https://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Finvisioncommunity.com%2Fforums%2F&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en These errors create a constant recalculation by the browser when downloading a site. Please comment - what do so many errors mean and how do they affect performance?
xtech Posted September 2, 2020 Posted September 2, 2020 I believe it says nothing at all. It is just messing up with the css variables. From browser-side it is everything fine, so i would dismiss that report.
Rikki Posted September 2, 2020 Posted September 2, 2020 Are you seeing errors in any modern browser? The variables it is flagging up are valid CSS and don't affect performance.
Adlago Posted September 2, 2020 Author Posted September 2, 2020 29 minutes ago, Rikki said: Are you seeing errors in any modern browser? The variables it is flagging up are valid CSS and don't affect performance. The only thing I see is an inexplicable difference in the text fonts in my blocks. For some blocks, text fonts have a bold, without this being set as a rule. And it's also in the default ips theme, and also in my new theme, created cleanly after upgrade 4.5.1 When I check in my old themes - created in transitional versions - in all blocks the fonts are the same and without issues. Here is an example - what two vertically adjacent blocks look like in version 4.4.10 and in 4.5.1
Rikki Posted September 2, 2020 Posted September 2, 2020 The default font changed in 4.5, so that may explain that difference. It was Roboto in 4.4, but 4.5 just uses the system default (Segoe on Windows, SF on Mac, etc.). You can edit your theme settings and switch back to Roboto if you prefer the previous style.
Adlago Posted September 2, 2020 Author Posted September 2, 2020 12 minutes ago, Rikki said: The default font changed in 4.5, so that may explain that difference. It was Roboto in 4.4, but 4.5 just uses the system default (Segoe on Windows, SF on Mac, etc.). You can edit your theme settings and switch back to Roboto if you prefer the previous style. In the default theme, the font is Inter. The same issues. Replacement with Roboto font - no difference. In my new theme - I used the default font. Now I changed the font to the Roboto - it doesn't matter. Recache site - the same issues
Adlago Posted September 2, 2020 Author Posted September 2, 2020 (edited) PS. If this can lead you to the issue and text with bold Edited September 2, 2020 by Adlago
Adlago Posted September 2, 2020 Author Posted September 2, 2020 (edited) PS2. The block that has font-weight: bold; is a block of clubs. I added style =" font-weight: normal;" in the block code and this solves this issue. Edited September 2, 2020 by Adlago
Recommended Posts