I have searched to the end of the internet and cannot find an answer to this and my very limited php knowledge is making this seemingly easy task very difficult.
The file is modules/mod_k2_content/templates/default/default.php around LINE 22
Here is the code:
I simply need to add an 'active' to the class area IF the li is the page I am currently viewing in order to highlight it with CSS.
The file is modules/mod_k2_content/templates/default/default.php around LINE 22
Here is the code:
<li id="" class="<?php echo ($key%2) ? "odd" : "even"; if(count($items)==$key+1) echo ' lastItem'; ?>">I simply need to add an 'active' to the class area IF the li is the page I am currently viewing in order to highlight it with CSS.