Active link

    <li class="active">

If anybody visit web the content of first children of root site will
appear. But URL is root one something like www.web.com and no LI element
mentioned above use class “active”. I need the first child of root site
use this class (as the URL was like www.web.com/slug-of-first-child),

thank you