Remove comma from last dynamic list item

I think the solution should be quite simple. I have used a previous code for making the divs display in reverse for collection items, alternating them. Works like a charm. Now I’m wondering if it would be possible to display none the comma in the last dynamic list item. so it doesn’t have a comma for no reason.

It is being used in a dynamic sub menu. The page would be

unsure of the syntax for this

the element is the bottom of service categories page

here is the share link https://preview.webflow.com/preview/bhlfcpa?preview=dbc6c24b137564c1016141d933ad7908

If it’s a quick job you can quote on I’b be happy to pay a little something but it’s not that important, more of a nice to versus a need to.

Thanks in advance
Jeremy

.categorylistitem:last-child .comma {
    display: none;
}
1 Like

Thanks Sam you rock.
AlwaysJeremy