Remove Element from Mobile Load
Remove an element from loading on mobile or low resolution devices in Webflow. This Javascript code makes it easier to remove elements from your mobile and smaller screen resolutions.
Remove an element from loading on mobile or low resolution devices in Webflow. This Javascript code makes it easier to remove elements from your mobile and smaller screen resolutions.
How to add it
- Add the Javascript code to the closing body section of your pages custom code
- Update the .class with your elements class ID
The code
Javascript
<!-- Add to closing body section -->
<script>
$(document).ready(function() {
if($(window).width() <= 767){
$( ".class" ).remove();
}
});
</script>