Chế Độ Ăn Và Tập Luyện Ngừa Loãng Xương Hiệu Quả

Loãng xương khiến xương yếu và dễ gãy. Việc ngăn ngừa loãng xương cần thực [...]

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 [...]

Dinh dưỡng cho trẻ chơi thể thao, thường xuyên vận động (từ 10 đến 16 tuổi)

Vai trò của vitamin và khoáng chất trong việc tăng cường sức khỏe và phò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