Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #341224
    abegreen
    Participant

    Hello, I need to remove commas between tags, on pages and posts.

    Currently my tags look like this:

    tag.1, tag.2, tag.3

    I want it to look like this:

    tag.1 tag.2 tag.3

    Thank you.

    #341227
    sujapati
    Keymaster

    @abegreen:
    The commas between tags are default-generated text nodes (i.e., not HTML elements), which cannot be directly targeted or styled using CSS.
    However, you can use the CSS below in the Additional CSS section to visually hide them on the post listing pages.

    .cat-links,.tag-links {
        font-size: 0;
    }
    .cat-links span,
    .cat-links a,
    .tag-links span,
    .tag-links a {
        display: inline-block;
        font-size: 12px;
        margin-right: 5px;
    }

    Note: These commas may still appear on single post/detail pages, as the tag structure is handled differently there.

    Regards,
    Sujapati

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.