<p>You can do this with CSS, or with Twig.</p>

<p>CSS:</p>

<pre><code>ul.crumbs li {
  text-transform: lowercase;
}
</code></pre>

<p>…or, if you need to start <em>after</em> a particular index…</p>

<pre><code>ul.crumbs li:nth-child(n + 2) { /* Start with the 2nd `li` */
  text-transform: lowercase;
}
</code></pre>

<p>Twig:</p>

<pre><code>{% if entry.level &gt; 1 %}
  &lt;ul class="crumbs"&gt;
    {% for crumb in entry.getAncestors() %}
      {# Build the link yourself, passing just the title through the `lower` filter: #}
      &lt;li&gt;&lt;a href="{{ crumb.url }}"&gt;{{ crumb.title | lower }}&lt;/a&gt;&lt;/li&gt;
    {% endfor %}
  &lt;/ul&gt;
{% endif %}
</code></pre>

CC BY-SA 3.0
2016-11-05T23:38:16.553Z
Brilliant August, I was looking for the Twig function!
Nutmeg
CC BY-SA 3.0
2016-11-05T23:34:09.173Z
2016-11-05T23:34:09.173Z
August Miller
<p>How do I parse the breadcrumbs code:</p>

<pre><code>{% if entry.level &gt; 1 %}
    &lt;ul class="crumbs"&gt;
        {% for crumb in entry.getAncestors() %}
            &lt;li&gt;{{ crumb.getLink() }}&lt;/li&gt;
        {% endfor %}
    &lt;/ul&gt;
{% endif %}
</code></pre>

<p>into lowercase?</p>

<pre><code>Home &gt; blog &gt; entry title 
</code></pre>

<p>or</p>

<pre><code>  home &gt; blog &gt; entry title 
</code></pre>

<case>
lowercase breadcrumbs
# lowercase breadcrumbs

(Asked by: username_0 on 2016-11-05)

How do I parse the breadcrumbs code:
{% if entry.level > 1 %}
    
        {% for crumb in entry.getAncestors() %}
            {{ crumb.getLink() }}
        {% endfor %}
    
{% endif %}

into lowercase?
Home > blog > entry title 

or
  home > blog > entry title

**Tags:** case

---

## 1 answers

### Answer by username_1 on 2016-11-05. Score: 5 | Accepted answer

You can do this with CSS, or with Twig.
CSS:
ul.crumbs li {
  text-transform: lowercase;
}

…or, if you need to start after a particular index…
ul.crumbs li:nth-child(n + 2) { /* Start with the 2nd `li` */
  text-transform: lowercase;
}

Twig:
{% if entry.level > 1 %}
  
    {% for crumb in entry.getAncestors() %}
      {# Build the link yourself, passing just the title through the `lower` filter: #}
      {{ crumb.title | lower }}
    {% endfor %}
  
{% endif %}

> **Comments:**
> **username_0**: Brilliant August, I was looking for the Twig function!  

---

