I would like to use a Font Awesome icon as a bullet point in unordered list menu for a specific (choosen) li-element (that has special "active" class).
I know, that it's easy with before/after pseudo-elements like proposed here:
- Using Font Awesome icon for bullet points, with a single list item element
- Custom li list-style with font-awesome icon
But my problem is, that i've already used both before and after pseudo-elements on that li-element, so that's not gonna work for me. And i can't add additional classes to ul/li-elements, so Font Awesome "native" solution (http://fortawesome.github.io/Font-Awesome/examples/#list) is also out of question.
My question is: is there a third way to do it? Thanks in advance!
edit: It's actually Wordpress Super Social plugin's social comments section. Here's a HTML of the list in question (they use inline javascript to set "active" class theChampSelectedTab as you can see).
<ul>
<li id="theChampTabs-0-li" onclick="this.setAttribute('class', 'theChampSelectedTab');document.getElementById('theChampTabs-0').style.display='block';document.getElementById('theChampTabs-1-li').setAttribute('class', '');document.getElementById('theChampTabs-1').style.display='none';document.getElementById('theChampTabs-2-li').setAttribute('class', '');document.getElementById('theChampTabs-2').style.display='none';" class="theChampSelectedTab">Default Comments (2)</li>
<li id="theChampTabs-1-li" onclick="this.setAttribute('class', 'theChampSelectedTab');document.getElementById('theChampTabs-1').style.display='block';theChampInitiateFB();document.getElementById('theChampTabs-0-li').setAttribute('class', '');document.getElementById('theChampTabs-0').style.display='none';document.getElementById('theChampTabs-2-li').setAttribute('class', '');document.getElementById('theChampTabs-2').style.display='none';">Facebook Comments (<fb:comments-count href="http:my.page" fb-xfbml-state="rendered" class=" fb_comments_count_zero"><span class="fb_comments_count">0</span></fb:comments-count>)</li>
<li id="theChampTabs-2-li" onclick="this.setAttribute('class', 'theChampSelectedTab');document.getElementById('theChampTabs-2').style.display='block';document.getElementById('theChampTabs-0-li').setAttribute('class', '');document.getElementById('theChampTabs-0').style.display='none';document.getElementById('theChampTabs-1-li').setAttribute('class', '');document.getElementById('theChampTabs-1').style.display='none';">G+ Comments</li>
</ul>
I just want to put a "pointing finger" icon (http://fortawesome.github.io/Font-Awesome/icon/hand-o-right/) before the active choice (.theChampSelectedTab) li.
edit: Got it work with text-ident and setting svg-version of the icon as a background image.