Skip to main content

Any luck customizing icon set?

This is my attempt but it's not working:

(Within _supporter_nav.html)

{% for child in site.supporter_pages %}
{% if page == child %}
<li style="background: url({{ child.slug | append: '.png' }}); background-position: middle left; background-repeat: no-repeat;" class="on"><a href="{{ child.url }}">{{ child.name }}</a></li>
{% else %}
<li style="background: url({{ child.slug | append: '.png' }}); background-position: middle left; background-repeat: no-repeat;"><a href="{{ child.url }}">{{ child.name }}</a></li>
{% endif %}
{% endfor %}

It returns "volunteer.png", for example, but the image itself refuses to be a thing.  

 

Official response from

Please see below. 

Share this post

Showing 4 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.