• Resolved smatzis

    (@smatzis)


    Hello, how are you?

    I would like to report a problem with invalid html that this plugin creates by default. This happens on the default cookie policy document and specifically on this html content:

    <summary class="cmplz-service-header"><div>
    
    

    However the above html is invalid as per these html instructions:

    Element div not allowed as child of element summary in this context.

    So could you please fix the above problem?

    Thank you very much for your help!

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @smatzis,

    Where is this warning being reported exactly?

    Kind regards, Jarno

    Thread Starter smatzis

    (@smatzis)

    Well, I am trying to validate my sites due to business requirements and this is the only error I get…

    Here is the service that validates websites for HTML rules compliance…

    The W3C Markup Validation Service

    Regards

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hello @smatzis,

    Following these instructions (https://complianz.io/customizing-the-cookie-policy-templates/), will allow you to override the default Cookie Policy HTML templates with your own, desired HTML structure.

    After following the instructions in the article, you will be able to apply the desired changes in the services.php file in the newly created templates folder of your active theme directory.

    We’ll also have a look at this for a future release of the plugin, but the above will allow you to make the changes right away; without having to wait for an update.

    Kind regards, Jarno

    Thread Starter smatzis

    (@smatzis)

    OK thank you for he feedback… I hope you can also fix this in the future… 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘cookie policy document invalid html’ is closed to new replies.