Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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
1831 273 423

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