enter image description here

I am trying to apply styles with nth child to every 3rd, 4th and 5th child, then to every 8th, 9th, 10th. Then 13th, 14th, 15th…
So apply styles to 3 childs, then jump to childs and apply the same styles to another 3 childs, etc.

Here’s an image that explain what I am trying to do: apply styles to the orange childs, when they are going to be hundreds of childs

Read more here: Nth child CSS – Apply styles to every 2 childs


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: