W3 Validator Error: Element style not allowed as child of element

This topic has 8 replies, 2 voices, and was last updated 2 years, 1 month ago ago by Olga Barlow

  • Avatar: effie_kyr
    effie_kyr
    Participant
    December 29, 2021 at 15:36

    Hi, we have a problem we need ro solve as soon as possilbe because the client won’t be approved by the authorities to get a government funding otherwise.
    The eshop needs to pass W3 Validator and wave and achecker validators.
    W3 Validator gives us 2 errors which we can’t find a way to fix:
    Element style not allowed as child of element div in this context.
    Element style not allowed as child of element ul in this context.
    Screenshot:
    https://prnt.sc/25471oj

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 29, 2021 at 15:53

    Hello,

    Provide us with WP Dashboard access to your site to check the issue in more detail and help you.

    Regards

    Avatar: effie_kyr
    effie_kyr
    Participant
    December 29, 2021 at 15:57

    Sending you the login info. Thank you!

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 30, 2021 at 10:39

    Hello,

    Check now, please.

    Regards

    Avatar: effie_kyr
    effie_kyr
    Participant
    December 30, 2021 at 10:49

    Thank you so much for the great support. That’s what makes me keep buying more and more licences of XStore and using it on almost all eshops!
    Could you please tell me what you did to fix it? We have to do the same on 2 more sites.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 30, 2021 at 11:04

    Hello,

    You are welcome. We are very grateful for your warm words!

    1) I have activated mobile header optimization option in Theme Options > General.
    2) I have activated WP Rocket plugin and enabled Separate cache for the mobile devices https://prnt.sc/258odww , JS minification https://prnt.sc/258oh8a
    3) Installed Autoptimize plugin and enabled CSS and HTML optimization https://prnt.sc/258olpz

    Regards

    Avatar: effie_kyr
    effie_kyr
    Participant
    December 31, 2021 at 02:10

    Thank you again!
    Have a great New Year!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 31, 2021 at 12:17

    Hello,

    You are welcome!

    Happy New Year! Wish you all the best.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.