Tần Suất Tập Thể Dục Hợp Lý – Bí Quyết Cho Sức Khỏe Của Bạn

Tập thể dục thường xuyên không chỉ giúp cải thiện vóc dáng mà còn tăng [...]

jQuery(window).on('load', function() { setTimeout(function() { // Xóa inline style mà slider gán sai jQuery('.woocommerce-product-gallery img, .flex-viewport img, .woocommerce div.product div.images img').removeAttr('style').removeAttr('width').removeAttr('height'); // Ép lại kích thước chuẩn jQuery('.woocommerce-product-gallery img, .flex-viewport img').each(function() { jQuery(this).css({ 'width': '100%', 'height': 'auto', 'max-width': '100%', 'object-fit': 'contain' }); });// Kích hoạt lại sự kiện resize để slider tự tính toán lại jQuery(window).trigger('resize'); if (jQuery('.woocommerce-product-gallery').length && jQuery.fn.flexslider) { jQuery('.woocommerce-product-gallery').flexslider(0); } }, 1000); });
Contact Me on Zalo