• Resolved Jimmy

    (@jayem82)


    What the hell happened now?

    When I write a post and hit “enter” to do a space between the text rows it looks good in the editor. But as soon as I publish my post, or switch between visual and cood the line break disappears.

    How do I add line breaks? Like the br tag…

    Anoying as hell…

Viewing 9 replies - 1 through 9 (of 9 total)
  • Insert   where you want your line break. It works for me anyways.

    Sorry about that

    Insert   between the lines.

    Your theme doesn’t have any styling for the <p> tag add some to your stylesheet. Such as margin-bottom or padding-bottom.

    Thread Starter Jimmy

    (@jayem82)

    I have a modified version of the K2 theme.

    Where in the css do I find what seems to be missing?

    You can try adding this to the bottom of your sytlesheet

    p {
    margin-bottom: 10px;
    }

    Just play with the value until you get it how you want it.

    Thread Starter Jimmy

    (@jayem82)

    I have downloaded the origianl K2 theme, uploaded it and used it. When I use the K2 theme everything looks ok like it should.

    I have searched for the p { tag on both style.css files and everything is the same. So this must not be the problem.

    The p { margin-bottom: 10px; in css works, but I want to know where my jlog css is changed from the k2 css.

    I don’t know what is in K2… but in your stylesheet everything related to
    .entry-content p – is commented out!

    Thread Starter Jimmy

    (@jayem82)

    Yes I have added the .entry-content p tag and it looks good. My only problem is that the K2 theme does not have this tag, still it looks ok when I use the K2 theme.

    moshu, you the best. Always helping me out =)

    Thread Starter Jimmy

    (@jayem82)

    I found what was wrong. Seems that a friend who tried to help me with the ngg hacked the

    .entry-content p,
    .entry-content ul,
    .entry-content ol,
    .entry-content div,
    .entry-content blockquote {
    margin: 13px 0;
    }

    It all looks as it should now. Thanks again everyone for helping me out!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Line breaks’ is closed to new replies.