CHIẾN LƯỢC DINH DƯỠNG TỐI ƯU CHO NGƯỜI MẮC BỆNH LOÃNG XƯƠNG

Loãng xương là gì? Loãng xương, hay còn gọi là bệnh osteoporosis, là một tình [...]

NGHỆ THUẬT NẤU CƠM TỪ GẠO LỨT – BÍ QUYẾT KIỂM SOÁT ĐƯỜNG HUYẾT CHO NGƯỜI TIỂU ĐƯỜNG

Gạo Lứt Tím Than là gì? Bí quyết nấu gạo lứt tím than thơm ngon [...]

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