So I'm currently working on a responsive theme. Now I'm looking for a way to limit the loop by screen-size (window size).
For example: if the window is above 1919px (width) it should load 7 posts. But if the window is between 1919px and 1599px it should only load 6 posts.
Is there any way to do this? I don't think it's possible to connect a php-statement with a CSS-@media-statement, is it?
Any ideas on how to do this?