I am encountering an issue with media queries on two different websites hosted on the same server, both being accessed using a Galaxy S7 device.
@media only screen and (min-width:501px) and (max-width: 999px) {
}
@media only screen and (max-width: 500px) {
}
One of the sites displays perfectly fine in mobile view portrait mode, tablet view landscape mode, and default view on computer. However, the other site always remains in tablet view and I am struggling to make it switch to mobile view for sizes of 500px or less. It's puzzling why one site works flawlessly but the other doesn't even switch to mobile view as intended. Any insights on why this discrepancy is happening?