W3C validator reliability?

I’ve tried using an unminify with my website, but I don’t know why it’s giving me an error message. Does it work for you with my website?

When I try to acces to this url appears this

The minified CSS files need to be unminified individually.

From post #16, these CSS files are minified:
https://www.fotov60.com/wp-includes/css/dist/block-library/style.min.css?ver=355b591f6d1823ab904b6b881082766d
and here:
https://www.fotov60.com/wp-content/plugins/jetpack/css/jetpack.css?ver=13.0

Using unminify.com, I find loading style.min.css, I get the same error message you had: “Wrong URL or the server does not allow cross-origin requests.”. I therefore had to copy the minified CSS and paste it into the box provided.

I found unminify.com failed to unminify jetpack.css but unminify2.com worked (one line of CSS is very long).

Use: https://jigsaw.w3.org/css-validator/.

Ok I dowbload the mentioned archives and use https://www.htmlstrip.com/unminify-css to unminify. Download the result and attach to this post to everyone can see. But the errors listed when analized with https://jigsaw.w3.org/css-validator/ may be fixed or not? Where I must fix? I don’t know where this CSS are allocated.
htmlstrip-css-minify jetpack.css (117.2 KB)
htmlstrip-style-min-css.css (122.1 KB)

In jetpack.css:

  • I think the error on line 1896 of jetpack.css is due to the “, 16px” on the line above.

  • I do not know why text-wrap is in error on three lines.

In style.css:

  • rotate: 180deg should be tranform: rotate(180deg) on three lines.

  • On line 2646, I expect the last value 20em should be 20rem.

  • I do not know what is wrong on lines 1814 and 1815.

Im really confused. By chance, I have tested the URL in the validator, and the result is that everything is correct (see the CSS analysis result for style here: W3C CSS Validator). This differs from the result I get when I download the file and unminify it as in the previous post.

However, when analyzing the Jetpack CSS URL, the same errors that were previously present still appear. How is this possible? I haven’t made any changes to the blog.

The URL you have given the validator (https://www.fotov60.com/wp-content/themes) seems to be incorrect.

I copied the url from the link you provide in previous post.

I have the main CSS sheet in the theme folder, and then there are almost this two CSS that are no directly related to the theme. Here is the analisys of the main CSS stylesheet with W3C. In this one is where I make the changes to the style and appearance of the blog, headers, fonts… etc.

I think that https://www.fotov60.com/wp-content/plugins/jetpack/css/jetpack.css?ver=13.0 is obviously from Jetpack plugin and have errors you see in previous post, and https://www.fotov60.com/wp-includes/css/dist/block-library/style.min.css?ver=355b591f6d1823ab904b6b881082766d I don’t know where it belongs but if I analised dont give me errors.

That link is not validating the file style.css. However this confirms there are no errors.

I get 6 errors: here.

Ok, then the main style is validated and the other two have many errors, right?

The URLs seem to belong to the Jetpack plugin and some part of the WordPress core, not the theme, right? Is it advisable to modify them, or in the best case, will an update overwrite them?

As the errors do not seem to be affecting the appearance of your web pages you could decide not to try to correct the errors. It is your decision :grinning:.

8 posts were split to a new topic: Modifying CSS in Wordpress theme

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.