Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #240434

    Hi,

    When inserting product category thumbnails under Products > Categories > Thumbnail, how can I configure my product category so the thumbnail doesn’t take a few seconds to load and show up automatically when the page loads?

    #241061

    Hi ferasb!

    The theme doesn’t add a noticeable loading effect/delay to the category image. If it takes very long to load please try to reduce the image file size by compressing the image. You can only remove the fade in effect (which maybe takes 200ms) by replacing this line in wp-content/themes/replete/config-woocommerce/config.php:

    
    if($image) echo '<div class="slideshow_container  slide_container_big"><ul class="slideshow fade_slider preloading"><li>'.$image.'</li></ul></div>';
    

    with

    
    if($image) echo '<div class="category-preview-image">'.$image.'</div>';
    

    Regards,
    Peter

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

You must be logged in to reply to this topic.