Inline CSS – Error on W3C Validation
-
Hello,
I have tried to fix some errors on the validation of W3C, yet I cannot figure out where to find the code that causes this error
Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
From line 557, column 429; to line 557, column 487
[a=’all’ /><style id=’woodmart-inline-css-inline-css’ type=’text/css’>.tabs-]
I wonder if there is a solution without cause a problem on the design
Thank you in advance
Hello,
Thank you for reaching out to us!
On some pages you have the “Product tabs” element, you should open it and resave it with the page, then the styles will be moved to the desired place.
If you will not succeed, please provide your site admin access to the private area. I will do my best to help you.
Kind Regards
Hello Luke,
I am not sure if I have understand, I should open the “Product tabs” and then just save?
Hello,
Yes, You should open the “Product tabs” element on your page builder, save it and also update the page. Then check the issue on the validator.
Kind Regards
Thanks for your response,
I have done exact this steps, yet I got the same error.
Hello,
Please provide login access for your site’s WordPress admin panel, so we can log in and check the issue on your side.
Kind Regards
Thank you Luke, here I you can see the password and username
Hello,
The problem was in the “Tabs color” option. You haven’t set any color so the element gets the default color and the validator defines it as an error. I have set the green color for the “Product tabs” element and the issue is gone.
https://gyazo.com/e9f47732cf5355905aa2509c7f113b7e
https://gyazo.com/7106feed4f5974875efd8b8a4f870d58
Kind Regards
Thank you so much Luke, the problem has been solved, I much appreciate your help
Best Regards
Hello,
We put customer experience and satisfaction as our priority, and your words reaffirm the hard work we put in every day. So thanks for your kind words and we look forward to seeing you again.
We wish you all the best.
Kind Regards
The topic ‘Inline CSS – Error on W3C Validation’ is closed to new replies.