I have an item (X) in a menu that changes the position depending of the user, for example:
Regular user:
N | N | N | X | N
Admin User:
N | N | N | N | X
I need to select that item using NTH-CHILD, the item has no ID or CLASS or any fields, this needs to be done using NTH-CHILD, so using the first example to select the item in a regular user menu:
element:nth-child(4)
But this instead should work for both cases in a single selector
element:nth-child(4 or 5 will always be the same with the algorithm)