Streaming live at 10am (PST)

Remove comma from last dynamic list item


#1

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


#2
.categorylistitem:last-child .comma {
    display: none;
}

#3

Thanks Sam you rock.
AlwaysJeremy