• Hello,

    Thanks for your nice plugin first of all.
    After reading all FAQ and else, i need to post here an issue seen on the W3C validator :

    Error: Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
    From line 291, column 1; to line 291, column 23
    x" /></p>↩<style type='text/css'>↩			#g
    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.
    In the body, where flow content is expected.
    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.

    I saw in many forums that the “style” should be put in the header, but how can we do that with wordpress ?

    Thanks in advance

    • This topic was modified 7 years, 5 months ago by nicopointcom.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author J B

    (@johnpbloch)

    The error is caused by the gallery shortcode provided by WordPress core, not the Child Themify plugin.

    Thread Starter nicopointcom

    (@nicopointcom)

    hem… ok.

    Is there a way to fix that ?
    Should i remove the plugin and create a child theme by adding code?
    Do i need, instead, to ask the wordpress support or the theme builder ?

    Best

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Element style not allowed as child of element div in this context’ is closed to new replies.