Cách Đối Phó Với Căng Thẳng Và Áp Lực Trong Cuộc Sống

 Áp lực công việc, gia đình, học tập… khiến chúng ta cảm thấy mệt mỏi, [...]

Dinh dưỡng cần thiết cho phụ nữ sau tuổi 25

Bí quyết dinh dưỡng cho phụ nữ sau 25 tuổi: Khỏe đẹp và tràn đầy [...]

Ngăn ngừa và quản lý bệnh tiểu đường dạng 2 ở phụ nữ

Tiểu đường dạng 2 là một trong những bệnh không lây nhiễm phổ biến nhất [...]

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