[Resolved] Remove commas from tags

Home Forums Support [Resolved] Remove commas from tags

Home Forums Support Remove commas from tags

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #800282
    Diogenes

    Hi.

    Put the code that is displayed in this post to remove the commas of the tags in the post:
    https://generatepress.com/forums/topic/changing-the-categories-style/page/2/#post-495802

    The problem is that when the tags have a blank space, cut the tags and jump to the next line (even though there is space available in the div) unzipping the design.

    [img]http://img.fenixzone.net/i/zbSqIQH.png[/img]

    Can you help me?
    Thank you.

    P.S. Before I had tried with this code:
    https://gist.github.com/generatepress/18e41e03783b5c7e86402d429e64efc0

    but as I try to also remove the commas from the categories, I put them as lists, which ruins my design.

    #800293
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS to your existing CSS:

    .entry-meta a,
    .entry-meta a:visited {
        white-space: nowrap;
    }
    
    .cat-links,
    .tags-links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    #800300
    Diogenes

    It worked!.
    Thank you.

    #800303
    David
    Staff
    Customer Support

    Awesome. Glad to be of help.

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