• Niramaya

    (@niramaya)


    I can see this issue has been discussed at length but I’m still struggling to find a solution. I’m trying to get reasonable spacing between paragraphs (see: http://reasonandfolly.com/about/). Between first two paragraphs, I’m using one line break by hitting enter in “Visual” editor. Between second and third, I hit enter twice. The problem is the first spacing is too small, the second too large. How can I achieve a normal *double* line break? Also, is the “Text” tab in editor what used to be “html”?

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    You really need to tackle this using CSS rather than using line breaks in the WordPress editors.

    Thread Starter Niramaya

    (@niramaya)

    how do you suggest I do that? Adding something to style.css?

    esmi

    (@esmi)

    Yes but not by editing the theme’s own style.css if you can avoid it. Try installing a custom CSS plugin. I’d also recommend using Firefox with the Firebug add-on to locate the CSS you need to amend/over-write. Or use whatever developer tool is available in your web browser.

    Thread Starter Niramaya

    (@niramaya)

    I do have firebug installed, what should I be looking for? Not too familiar.

    esmi

    (@esmi)

    Try targeting any paragraph within a post and Firebug should be able to show you what margins and padding are being applied. My guess is that you’ll need to increase the margin-bottom a little to get the spacing you want.

    Thread Starter Niramaya

    (@niramaya)

    I see that, I’m just not verseD in CSS to know what code to add. I can see that (padding-bottom 0px) applies to a bunch of things so I’m not sure how to isolate so that changes only apply to paragraph :/

    Thanks!

    esmi

    (@esmi)

    The margin on paragraph tags is currently 5px, so try something like:

    article p {
    margin-bottom: 7px;
    }

    Thread Starter Niramaya

    (@niramaya)

    works perfectly, thanks so very much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Line break – ever-confusing in new editor’ is closed to new replies.