I there a way of selecting (using css) the nth child from an element with a certain class. For example, for the following, how could I select the li element with th
li
Actually you could do with + selector. It is a bit dirty, but works in your case. All you need is to know the exact position of element you need.
+
.selected + li + li (adding + li as much times as you need)
.selected + li + li
+ li