How to add active class to homepage nav list item
Unless the URL is domainname.com/homepage then your class will not get added.

Are you using template layouts? If you are you could have something like this in your _layout

{% block bodyClass %}{% if bodyClass is defined %}&lt;body class="{{ bodyClass }}"&gt;
{% else %}&lt;body&gt;
{% endif %}


Then in your home template you would set it like so:

{% set bodyClass = 'CLASSNAME' %}


OR you could something like this in your nav:

&lt;nav&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="{{ siteUrl }}" {% if craft.request.firstSegment == '' %}class="active"{% endif %}&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="{{ url('work') }}" {% if craft.request.firstSegment == 'work' %} class="active" {% endif %}&gt;Work&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="{{ url('about') }}" {% if craft.request.firstSegment == 'about' %} class="active" {% endif %}&gt;About&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;


#

Hopefully that helps. If not you can always look at this post with other methods:

How can I add a dynamic &quot;active&quot; CSS class to the navigation on any given page?