Support

Winden: Compiled CSS in wrong location?

Publish date: 12/23/2024 •  Bug • Winden •  Paul Richards

Hi Guys

I am currently working on a site which all seems great. I have just been doing some testing and I notice that the compiled style sheet (output.css) is being linked outside of the <head> tag, and it’s being placed after the footer right at the end of the dom but before JS. Not sure whether this is semantically correct, I would imagine it should be being pushed to the end of the head tag. Is this a bug?

Is there a remedy I can use – I really wanted to point this out and find a fairly quick fix. It’s not causing any issues for me as it’s still loading but I would definitely prefer to fix this if possible?

Thanks
Paul

purchase_id:

61673

Uploaded files:

  • support says:

    We do this on purpose, to override anything coming from the themes, WP itself, builders etc. so that you don’t need to use !important declaration when you want to override these styles with Winden. It doesn’t harm anything.

    In the past we have it in the tag, and there users need to use a lot of rules with !important who want to use themes/builders styles along with Winden, and don’t want to dequeue styles for their theme/builders.

    Let me know if you need any other help.

    Regards,
    Mohammad Arshad
    DPlugins Support

Leave a Reply