If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #24421

    Product example: http://one-two.dk/varekatelog/tredje-product

    Woocommerce seems to be using the featured image, where I have specified a size of 930x500px in the functions.php

    However, I’d like it to use another img-size.

    If I specify a new size in functions.php, how do I tell Woocommerce to use this?


    Open up header.php and replace:

    $slider = new avia_slideshow(avia_get_the_ID());


    $slider = new avia_slideshow(avia_get_the_ID());
    if(is_product()) $slider -> setImageSize('portfolio');

    and instead of “portfolio” insert your thumbnail size.


    Thanks, works like a charm :)



    Glad it worked. :)



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

The topic ‘How do I change the image-size on a product page if using fullwidth slider?’ is closed to new replies.