liquid rendering problem

liquid rendering problem

react-beginer
Shopify Partner
12 0 0

微信图片_20231122181814.png

微信图片_20231122181821.png

<span>liquid rendering problem</span>

Replies 2 (2)

SBD_
Shopify Staff
1829 271 415

Hey @react-beginer 

 

{{ block.settings.color_background }} is the right approach, is just needs to be used in a block iteration:

 

{%- for block in section.blocks -%}
  {{  block.settings.color_background }}
{%- endfor -%}

 

 

 

 

Scott | Developer Advocate @ Shopify 

react-beginer
Shopify Partner
12 0 0

6B65B769-E5AB-48fd-83FC-34151DB4FFD9.png

A83E65F0-A2C1-4548-8228-B002082E87CE.png

E86ED34C-307A-4c1e-A1CD-89538EE435B8.png

I introduced CSS but why doesn’t it work? Waiting online, very anxious