Support » Plugin: Slider - Ultimate Responsive Image Slider » Element style not allowed as child of element div in this context

  • Resolved botnop

    (@botnop)


    Hi,

    First of all – very useful plugin šŸ™‚

    I’m running a site with W3 validator but gives out the following error.
    Can you please help me to pass this validation?

    Error details:
    Error: Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
    From line 297, column 1; to line 297, column 7
    </script>ā†©<style>ā†©/* La
    Contexts in which element style may be used:
    Where metadata content is expected.
    In a noscript element that is a child of a head element.
    Content model for element div:
    If the element is a child of a dl element: one or more dt elements followed by one or more dd elements, optionally intermixed with script-supporting elements.
    If the element is not a child of a dl element: flow content.

    W3 Validation check result: https://validator.w3.org/nu/?doc=http%3A%2F%2Fcity.datapress.win%2F

    I only need help with this one as I can fix others.

    Thank you for looking into it.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author FARAZFRANK

    (@farazfrank)

    Hi @botnop,

    Sorry for too late.

    Thanks for the appreciation.

    The plugin uses some dynamic JS and CSS code generated by plugin shortcode accordingly to shortcode id.

    There is a way to make it non-dynamic.
    but, then
    – multiple sliders will not work on the same page
    – the same setting will for all sliders you will create

    Contact me on my site I will explain to you more.

    Thanks

    Thread Starter botnop

    (@botnop)

    Thank you for the constant follow up and finally getting it done.

    Thanks a lot.

    Plugin Author FARAZFRANK

    (@farazfrank)

    Thanks so much for all your cooperation.

    Please rate the plugin with your kind words – rate here

    Thanks and I always here to help you.

    Have a wonderful life ahaed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.