Project link:
Following are the media queries that were premade, I cannot and am not allowed to change them sadly. The issue at hand however is, that the devices pick the smaller respecitve resolution. What I mean by that is, that if the device is supposed to pick the css from suppose (min-width: 992px) and (max-width: 1200px), it picks it from (min-width: 768px) and (max-width: 991px). Hope this makes sense, I cannot seem to find the reason for this.
/*iPhone*/
@media screen and (max-width: 399px) {}
/*Big Phones Portrait and iPhone Portrait*/
@media (min-width: 400px) and (max-width: 639px) {}
/*Big Phones Landscape*/
@media (min-width: 640px) and (max-width: 767px) {}
/*Tablet Portrait*/
@media (min-width: 768px) and (max-width: 991px) {}
/*Tablet Landscape*/
@media (min-width: 992px) and (max-width: 1199px) {}
/*Medium Pcs*/
@media (min-width: 1200px) and (max-width: 1279px) {}
/*Less than equal to 1360*/
@media (min-width: 1280px) and (max-width: 1299px) {}
/*Full width pc*/
@media (min-width: 1300px) and (max-width: 1301px) {}
@media (min-width: 1302px) and (max-width: 1599px) {}
@media (min-width: 1600px) and (max-width: 1601px) {}
@media (min-width: 1602px) {}
(min-width: 1200px) and (max-width: 1279px)
one and not the(min-width: 992px) and (max-width: 1200px)
one? – Ming1200px
and at a minimum of1200px
, so at that exact point, both rules become true. It's less-than-or-equal-to and greater-than-or-equal-to, which means you would have to change them somax-width: 1200px
and the other rule starts atmin-width: 1201px
so there is no overlap. Since you can't change the queries, you would have to pick the one you want to override the other, and give every rule within it more specificity. – Ming