I have an issue that seems to be inconsistent loading of my media.css file. I think this is happening because the order and the page is rendering before it hits it.
Most of the time, this correct version will load:
Other times (noticed by my boss) the incorrect version will load :
I am only using 1 breakpoint to cover large mobile phones and smaller smart phones. iPads and tablets look/work fine so we don't use a mid sized break point for them.
My media queries are as follows :
@media screen and (max-device-width : 768px) and (orientation:portrait) {//lots of styles}
@media screen and (min-device-width : 320px) and (max-device-width : 1200px) and (orientation:landscape) {//some more stylez}
it is being loaded at the bottom of the head after a bunch of scripts/css for other modules etc. Any insight would be greatly appreciated. Thanks.