Formatting Text in Webflow

Comma-Separated List Items

No items found.

Give your Collection List a custom attribute of wfu-csv, and drop in an HTML embed with this style;

[wfu-csv] .w-dyn-item {
    display: inline;
[wfu-csv] .w-dyn-item div,
[wfu-csv] .w-dyn-item p {
    display: inline;
[wfu-csv] .w-dyn-item:not(:last-child) div::after,
[wfu-csv] .w-dyn-item:not(:last-child) p::after {
    content: ", ";

This will append a comma after each paragraph, except the last one.

See demo site and read-only project link.

Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.