Home Forums WoodMart support forum Cloud loaded Image Problem in Bestseller Widget

Cloud loaded Image Problem in Bestseller Widget

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #373107

    prattsy
    Participant

    Hello,

    i load my Woocommerce Product Images from Dropbox Cloud.
    I have in Sidebar Widget “Popupar Products” and “Bestseller”.
    In “Popular Products” Product Image present.
    But not in “Bestseller”.
    How can it be?
    How to fix it?

    https://t-shirt-bedrucken.eu/staging/shop/t-shirts/wk-t-shirt-weiss-shark-hai/

    Admin Login Data in Private Content.

    Best Regards

    Attachments:
    You must be logged in to view attached files.
    #373198

    Artem Temos
    Keymaster

    Hello,

    As we can see you are using some plugin for your featured images and it is not compatible with our theme lazy loading feature, unfortunately.

    Kind Regards

    #373428

    prattsy
    Participant

    Hello,
    now I only use the Woodmart Woocommerce bestseller widget.
    the question is:
    Why are Woocommerce Product Images displayed in all Woodmart Product Widgets but only not in the Woodmart Best Seller Widget?
    The settings are the same for everyone.
    I need a uniform design.
    Or do I have to do without the Woodmart bestseller widget?

    Best Regards

    Attachments:
    You must be logged in to view attached files.
    #373473

    prattsy
    Participant

    Please see Image.

    Attachments:
    You must be logged in to view attached files.
    #373547

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_action( 'init', function() {
    	add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
    	remove_action( 'woocommerce_before_shop_loop_item_title', 'woodmart_template_loop_product_thumbnail', 10 );
    }, 1100 );

    Best Regards

    #373714

    prattsy
    Participant

    PERFECT
    YOU ARE THE BEST
    WE CAN MAKE THE WORLD BETTER
    MUST ONLY TALK ABOUT IT
    the images only bigger than other widget views,
    how make all same size?

    #374136

    Artem Temos
    Keymaster

    Could you please send a screenshot of the problem so we can better understand it?

    Kind Regards

    #374716

    prattsy
    Participant
    #374718

    prattsy
    Participant

    Like your bigger Images better.

    #374787

    Artem Temos
    Keymaster

    Try to apply the following CSS code as well

    .product_list_widget>li img {
      max-width: 100%;
    }
    
    .product_list_widget>li .widget-product-img {
      flex: 0 0 50%;
    }

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)