[Help] How to make this page be responsive?
Hello everyone, I found a nice product page template and I was trying to use the template on our site. There are "List View" and "Grid View" available, the page is loading as Grid View by default. Here is the link for the template: https://bootsnipp.com/snippets/featured/list-grid-view It is no problem when browsing this page from desktop or laptop, but if you browsing the page from mobile device it is not responsive. Please see below picture for reference. <img src="https://i.imgur.com/rvLYC4g.png" alt="screenshot"/> Or https://i.imgur.com/rvLYC4g.png I was trying to add below JS code but it won't work. /*Code for Responsive*/ if (screen.width <= 819) { $(document).ready(function() { $('#list').ready(function(event){event.preventDefault();$('#products .item').addClass('list-group-item');}); }); } /*Code for Responsive*/ can anyone help? Thank you so much inadvance. Best, John