Home › Forums › Basel support forum › Product page layout error
Product page layout error
- This topic has 3 replies, 3 voices, and was last updated 7 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
May 18, 2017 at 3:51 am #13995
JanukaParticipantHey,
My individual product page layout seem to have an error. They look messy when you load the first time, but when you reload the product page it goes back to normal.
Open several products from this page and see http://www.isarobrand.com/categoria-produto/masculino-2/
Only when you reload the page layout gets fixed.Attachments:
You must be logged in to view attached files.May 18, 2017 at 6:10 am #14006
Artem TemosKeymasterHello,
Try to disable JS minification in Theme Settings -> Performance and change the following code in
js/functions.js
file$('.product-images').imagesLoaded(function() { $('.woocommerce-product-gallery__wrapper').addClass('owl-carousel').owlCarousel({ rtl: $('body').hasClass('rtl'), items: 1, autoplay: false, dots: false, nav: false, autoHeight: ( basel_settings.product_slider_auto_height == 'yes' ), navText:false, loop: false, onRefreshed: function() { $(window).resize(); } }); });
With this one
$('.woocommerce-product-gallery__wrapper').addClass('owl-carousel').owlCarousel({ rtl: $('body').hasClass('rtl'), items: 1, autoplay: false, dots: false, nav: false, autoHeight: ( basel_settings.product_slider_auto_height == 'yes' ), navText:false, loop: false, onRefreshed: function() { $(window).resize(); } });
June 23, 2017 at 10:33 am #15523
AtelierAlvesParticipantHi, I’m having this issue as well but only in Google Chrome.
Isn’t that code the same? Should we remove this part “$(‘.product-images’).imagesLoaded(function() {“, is that it?
Thank you!
June 23, 2017 at 11:18 am #15525
Artem TemosKeymasterHi,
This bug is already fixed. You need to update the theme to the latest version – 3.3.
Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register