首次亮相shopify主题:在Collection页面上更改图像大小

时间:2018-05-29 13:34:58

标签: shopify liquid liquid-layout shopify-template

我正在Debut shopify主题工作。 我想让连续的4幅图像更大。

我当前的页面:enter image description here

我的目标:enter image description here

我在这里找到了一个类似的问题:

https://ecommerce.shopify.com/c/ecommerce-design/t/solo-theme-change-product-image-size-on-collection-page-342056#comment-342234

但他们正在引用另一个主题。

非常感谢任何帮助!

1 个答案:

答案 0 :(得分:0)

转到修改主题>部分> collection-list.liquid

找到这行代码:

{% when '4' %}
  {%- assign grid_item_width = 'small--one-whole medium-up--one-quarter' -%}
  {%- assign image_size = '250x250' -%}

将250x250更改为所需大小。

同样在首次亮相的主题中,有一个默认的页面宽度,因此除非你改变它,否则它可能会干扰你看起来的样子。

相关问题