Tầm quan trọng của việc bổ sung đầy đủ dưỡng chất cho trẻ vị thành niên

Giai đoạn vị thành niên là thời kỳ phát triển quan trọng trong cuộc đời [...]

Thói quen ăn uống lành mạnh tại văn phòng

Bí quyết để duy trì thói quen ăn uống lành mạnh tại nơi làm việc [...]

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