Is there a way to prevent content from loading on a particular screen sizes ?

The way I handle responsiveness on my site is that I used resposive tab and hide elements that shouldn't load on eather desktop, tablet or mobile.
In short
On desktop, content that is being created for mobile hides.
On mobile, content designed for desktop hides.
The problem is. Hiding elements doesn't prevent them from loading, which causes optimisation issues.
Is there a way to instead of only hide, completly prevent elements from loading on particular screen sizes?

Written by Odikadoo

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Is there a way to implement a 100% custom button (own CSS etc)?

Only able to show 2 products per page in webshop