Shopify Dawn Theme - Icons before Text in multi-column layout.

nitinj
Shopify Partner
30 1 2

I am adding an icon before bullet points in multi column layout. But it is not working. Can anyone help what is wrong in the code.

 

<div class="multicolumn-card__info"> {%- if block.settings.title != blank -%} <h3 class="inline-richtext">{{ block.settings.title }}</h3> {%- endif -%} {%- if block.settings.text != blank -%} <div class="rte"> {{ block.settings.text | replace: '<ul>', '<ul class="fa-ul">' | replace: '<li>', '<li><i class="fa-li fas fa-check"></i>' }} </div> {%- endif -%} {%- if block.settings.link_label != blank -%} <a class="link animate-arrow" {% if block.settings.link == blank %} role="link" aria-disabled="true" {% else %} href="{{ block.settings.link }}" {% endif %} > {{- block.settings.link_label | escape -}} <span class="icon-wrap">&nbsp;{% render 'icon-arrow' %}</span> </a> {%- endif -%} </div>

 

 

Replies 0 (0)