• Resolved TJ1

    (@tj1)


    In my website: https://www.minutify.com
    for each blog post there is a category. It is shown as: “POSTED UNDER” under the figure of the blog post.

    My question is why “POSTED UNDER” is not shown in one line, and it is shown as:
    POSTED
    UNDER

    And how can I change it to: “POSTED UNDER” so both words are in the same line.

    Thanks for the help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your margins aren’t big enough.

    If your theme has a custom CSS option, add this in there:

    .category-meta {
    width:100px;
    }

    Or whatever width works for you. Then refresh your browser.

    Thread Starter TJ1

    (@tj1)

    Jason: thanks for the response.
    My theme does not have a custom CSS option, but I added what you said to the end of my style.css. I increased 100 to 200, but still it is not working.

    Somewhere in your stylesheet, there is this class:

    .category-meta

    It will be near the
    .entry-meta cf
    class …
    and the
    .clock-meta class, which controls your “Posted On” …

    Don’t just add it again … find it in your stylesheet and change it there. And delete the one you added. And add the width attribute, and don’t forget to put a semicolon after it.

    Thread Starter TJ1

    (@tj1)

    Jason:

    Thanks a lot for the help.
    Actually I used what you said before and added “!important” to it, i.e it is:

    .category-meta {
    width:100px !important;
    }

    And now it is working.
    Thanks again for your help.

    Oops — yes, I forgot about that. !important overrides things. Good thinking. You’re welcome. Glad you got it working!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘why two words are broken in two lines’ is closed to new replies.