Commas with tags

The commas are only added to the “simple” tag style. It looks like you’ve customized the way that tags look but I think you’re still using the “simple” style under the tag_style setting in the admin.

You have a couple of options:

  1. change the tag style to something other than simple and then adjust your custom styles here accordingly

    .discourse-tag.simple, .discourse-tag.simple:visited, .discourse-tag.simple:hover {       border-width: 0.05em;
      color: #949494;
      border-style: solid;
      padding: 2px 4px 2px 4px;
      border-radius: 5px;
      margin-top: 2px;
      font-size: 1.05em;
    }
    
  2. Add this to your custom CSS to hide the commas for all tags:

    .discourse-tags,
    .list-tags {
      .discourse-tag.simple:not(:last-child):after {
        display: none;
      }
    }