Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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?

    #123450

    Open up header.php and replace:

    $slider = new avia_slideshow(avia_get_the_ID());

    with

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

    and instead of “portfolio” insert your thumbnail size.

    #123451

    Thanks, works like a charm :)

    #123452

    Hey,

    Glad it worked. :)

    Cheers,

    Ismael

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.