4

I've set up a site and I must have some strange configurations, because ALL applied styles on the entire site are coming from inline tags in the header:

enter image description here

If you check the markup it comes from this element with a strange ID:

enter image description here

I have never seen anything like this in M2 yet.

How and why is this happening?

2 Answers 2

3

I believe this is for developer/debugging use only, once you are running with server-side compilation and in production mode you should no longer see them.

This is a screenshot from a production website we have:

enter image description here

1
  • 1
    I'll second that, production mode you'll no longer see it.
    – andy jones
    Commented Oct 12, 2017 at 17:51
0

Maybe you used custom js such as LeaVerou prefixfree, that convert link stylesheet tag to style tag. This was what happened to me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.