I have this part of HTML
<li class="cat-item-16"><a href="#">Text</a></li>
and I want to chek if im on this page, change link color to green.
if(is_page( 112 )) :
echo '<li class="cat-item-16" style="color: green;">';
else :
//d
endif;
How can I change li style with echo, is it possible? What am I doing wrong?
Thank you!