Plugin Author
Ajay
(@ajay)
Not really sure why it gives that as rgba is a valid function from what I can see, or at least I thought so.
https://www.w3schools.com/css/css3_colors.asp
I can’t find a fix for this.
Well, w3c says simple words:
1 .crp_related .crp_title Value Error : text-shadow only 0 can be a length. You must put a unit after your number : 1000 0.1em 0.1em 0.2em
2 .crp_related .crp_title Value Error : background Invalid RGB function )
3 .crp_related li:hover .crp_title Value Error : background Invalid RGB function )
1. says that you must put unit after numbers. They explain text-shadow format here:
https://www.w3schools.com/cssref/css3_pr_text-shadow.asp
2. and 3. says that rgb and rgba are followind, both together, and it doesn´t like rgb
For example, into 3 you have:
.crp_related li:hover .crp_title{background:rgb(0.2, 0.2, 0.2);background:rgba(0, 0, 0, 0.8)}
if delete background:rgb(0.2, 0.2, 0.2), no errors into W3c.
Thanks
Plugin Author
Ajay
(@ajay)
Thanks that helps. I thought the error was with rgba. I’ll fix this in the next version.
The validator.w3.org gives several errors:
1.- Error: CSS: text-shadow: only 0 can be a length. You must put a unit after your number.
text-shadow:1000 .1em .1em .2em
2.- Error: CSS: background: Invalid RGB function.
background:rgb(0.5, 0.5, 0.5);background:rgba(0, 0, 0, 0.5)
Plugin Author
Ajay
(@ajay)
Can I check if you were able to fix these on your site by editting the CSS? And if so, what was the revised code?
Hi there. I don´t know the better solution to fix this, but are very simple as i said in previous post:
1. text-shadow:1000 .1em .1em .2em
It doesn´t like number 1000. So i think this property is color, something as #100.
2. background:rgb(0.5, 0.5, 0.5);background:rgba(0, 0, 0, 0.5)
It doesn´t like rgb+rgba both together for background (if delete rgb, it fixed -but i dont know what is the right to delete- ).
Thanks.
Plugin Author
Ajay
(@ajay)
I just checked it on the CSS site. I think there might be a solution. I’ll look to fix this in the next version.