[Resolved] terms display on new line and not split

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support terms display on new line and not split

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29072
    JC
    Participant

    Hello,

    How do I get the terms not to split up and display on a new line instead. See the screenshot: https://i.imgur.com/AEdUoae.jpg
    You will see the last term is split in two and 1/2 of it on the first line and second continues on the next as it is too long.

    I would prefer if no space the term continues on the next line and margin/padding remains in place. So “Mains Recipes” should be on the second line.

    Thank you in advance 😉

    Terms display

    #29110
    elvin
    Moderator

    Hi there,

    Try adding this CSS:

    span.wp-show-posts-terms.wp-show-posts-meta a { white-space: nowrap; }

    Let us know how it goes.

    #29151
    JC
    Participant

    THank you that worked!

    What also worked for me was this:

    .wp-show-posts-meta a {
        display: inline-block;
    	}	

    But I have a feeling your solution is better 😉

    #29172
    elvin
    Moderator

    No problem. Glad it works for you. 🙂

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