I have a paragraph bundle (pr_bnd1), which has several fields as below:
- field_bg_clr (list field whose key values are mapped to a css class)
- field_font_clr (list field whose key values are mapped to a css class)
The an example output
<div> field_txt value</div>
<div class="field_font_clr_value">. <span class="field_bg_clr_value"> field_txt value</span> </div>
How would i achieve the desired results? I am having trouble getting the template file to work. Any thought?
My paragraph bundle name is "pr_bg_font_clr".
So i imagine i would have to write a template file with the name of "paragraph-items--pr-bg-font-clr", but i am not sure what the structure should be and which fields i can utilize.