Utilizing MediaQuery to develop a responsive website layout has been mostly successful, aside from one particularly vexing issue.
The default core.css stylesheet is applied to the site, serving as the style-sheet for the desktop version. However, when the screen width is equal to or less than 1024px, it switches to tablet-and-mobile.css via this link:
<link rel="stylesheet" type="text/css" media="screen and (max-width : 1024px)" href="assets/css/tablet-and-mobile.css"/>
The challenge arises because many users still utilize desktops with screens that have a width of 1024px, coincidentally the same width as tablets. This causes a conflict within the system, resulting in the website applying the tablet version even when visited from a desktop with a 1024px width screen.
@media screen and (max-device-width: 1024px)
I have exhausted all avenues attempting to resolve this issue to no avail. Do you have any recommendations? You can view a live template at www.loaistudio.com