Home>Support>Image size in product page is not fixed

Image size in product page is not fixed

Hello,

I try to create an eCommerce website.

In a first time, i was using Woocommerce but the size of the image in the product page was not fix (proportional to the size of the navigator).
Consequently, i change for another eCommerce plugin WP-shop but unfortunately, i have the same problem, image is not.

I want to have a fix picture (with the initial dimension).

Sorry for my poor english ;)

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 11 days ago Benjamin Goyard

    After some research, i add the following code in CUSTOM CSS:

    /* WooCommerce */

    .woocommerce #content div.product div.images img, .woocommerce div.product div.images img, .woocommerce-page #content div.product div.images img, .woocommerce-page div.product div.images img {
    width: auto !important;
    }

    .woocommerce .related ul li.product img, .woocommerce .related ul.products li.product img, .woocommerce .upsells.products ul li.product img, .woocommerce .upsells.products ul.products li.product img, .woocommerce-page .related ul li.product img, .woocommerce-page .related ul.products li.product img, .woocommerce-page .upsells.products ul li.product img, .woocommerce-page .upsells.products ul.products li.product img {
    width: auto !important;
    }

    .woocommerce .related h2 {
    clear: both;
    }

    The result is partiall OK, because the size of my picture is correct now but the area around is still very big. The page is split 50% 50%, and i wish have 10% 90%

  2. 9 years, 6 days ago Andrew Misplon
    Hi, I Work Here

    Hi Benjamin

    Very sorry about the late reply. We work through a prioritized forum queue, and unfortunately it’s taken us some time to get to your thread.

    https://siteorigin.com/about/forum-thread-prioritization/

    Because it’s been a while since you posted this, would you mind letting us know if you still need help? If so, we’ll jump right in.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More