Viewing 3 replies - 1 through 3 (of 3 total)
  • Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    This is set by Storefront itself. Those options only appear if the theme you’re using doesn’t already declare them.

    To override the woocommerce_single image size take a look at:

    https://github.com/woocommerce/woocommerce/wiki/Customizing-image-sizes-in-3.3#changing-image-sizes-via-hooks

    and

    cssigniter.com/kb/adding-images-woocommerce/

    All the best!

    Thread Starter rawi.rai

    (@rawirai-1)

    Hi @joelwills thank you for reply. Don’t you think this need to be built in option in storefront theme?

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Themes can set the sizes they require, like Storefront does. Then those options are hidden as the theme has set this. This is the same for many themes so they set the correct image sizes required to look good in the theme.

    If the theme doesn’t set the image sizes, those options appear. However then you have to guess the sizes that look good in the theme.

    So the best option is for the theme to declare the correct sizes, like in this case. However you can override them as per the links I previously sent.

    Hope that helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize image sizes in the customizer – missing Main image width.’ is closed to new replies.