• Resolved lukas21980

    (@lukas21980)


    Is it possible to move styles from body to head? Because of such code
    <style id="bs-spacing-css">@media(min-width:768px){body .bs-Z1dCF8C{padding-bottom:48px;}}@media(min-width:992px){body .bs-Z1dCF8C{padding-bottom:86px;}}</style>
    I have validation errors.

    By the way, great module

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author kubiq

    (@kubiq)

    Hello,
    what validation you mean?
    I don’t know about any problem with this.

    You can always use some optimization plugin to aggregate inline scripts and styles, like Autoptimize

    But sure, i can think about this in next version… It will require parse block twice, but as today all pages are cached, it shouldn’t be a problem

    Thread Starter lukas21980

    (@lukas21980)

    w3.org validator
    Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

    Plugin Author kubiq

    (@kubiq)

    Hi,
    there is a new version 2.5 and everything should work now ??

    Thread Starter lukas21980

    (@lukas21980)

    Thanks, I’ll check it out ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Moving styles to head’ is closed to new replies.