• Hey All,

    Since the 2.5 version of wordpress, I’n not able to format the paragraphs of my text any other way than inserting a [full stop]-dot and turning it’s color white.

    This might seem a somewhat weird way to format a text. And it is.

    Adding extra [enters] in my (visual) editor when writing doesn’t help.

    I’ve been browsing, reading suggestions about the html editor and/or the HTML clean up the wordpress editor uses.

    But this shouldn’t be important, since i rarely use the html editor.

    IS there anyone who can keep me from adding white dots to my text?

    Thanks and all the best,

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter sidneyvollmer

    (@sidneyvollmer)

    i know, but i am more of a “cooked” editor type of person.
    i highly prefer the flashy fashizzle over the plain and simple html editor.

    but surely lloydbud, there must be an easier way to get [p] breaks?

    it’s such wonderful software, but this thingy sticks out like a sticky thorn in a big bowl of otherwise delightfully tasteful raspberryjam…

    Thread Starter sidneyvollmer

    (@sidneyvollmer)

    no?

    Sidney, that wp.com post isn’t necessarily indicative of the problems with self-hosted WP blogs.

    Have you tried this plugin?
    https://urbangiraffe.com/plugins/disable-wpautop/

    He also links to a support forum thread that discusses this.

    Thread Starter sidneyvollmer

    (@sidneyvollmer)

    yeah, i did. it works the complete opposite wa – it deletes all my [p] tags,, whereas i want to have more of them between paragraphs instead of just one…

    Adding more than one spage between paragraphs is bad code and wp will strip it. It is by design as opposed to a glitch.

    Thread Starter sidneyvollmer

    (@sidneyvollmer)

    paragraps are not very readable, the text clutters together. if you check vollmer.nl, you’ll see what i mean: my paragraphs are readable, yet have three times a smuch space between them than WP allows you to have.

    i got the advice to alter the CSS:

    Controlling the spacing between paragraphs when the browser renders them is one of the things that CSS is designed to do easily. It lets you do quite a bit more than that, but it is one of the things you can do with it.

    The best way to do this consistently is to learn a bit about CSS and get the custom CSS upgrade, since you can then just set a class on the paragraphs and have the CSS set up to take care of it. Short of that, you can specify this on a paragraph-by-paragraph basis in the HTML view in the editor. Here’s an example to play with:

    <p style=”text-align:left;”>Here’s a paragraph with default margin, border, and padding.</p>
    <p style=”text-align:left;padding-top:5em;”>So, what happens here?</p>
    <p style=”text-align:left;”>Here’s another paragraph with default margin, border, and padding.</p>
    <p style=”text-align:left;padding-bottom:16em;”>And what happens here?.</p>
    <p style=”text-align:left;”>And here’s yet another paragraph with default margin, border, and padding.</p>

    Try putting that into a draft post and previewing it; you should see some (excessively large) spaces between a couple of the paragraphs.

    lotta hassle for a simple question, yet it’s good to have an option.

    kudos to singularcontinuity

    I have two different websites, both on the same kind of server, using the same version of wordpress.
    They use two different themes though. Only one of them has the problem with the paragraphs. So the problem is probably in the CSS.
    Just gonna figure out where.

    There will simply be one big paragraph of the whole post or Page, it completely ignores my rowbreaks. Even when typing in the html.
    “<BR CLEAR=left>” works though, but next time I go in to edit, it is GONE.

    I think one of the great things with wordpress is that you create the CSS and the templates and then you just go ahead blogging. Without having to write any code. So that you can make websites for people who don’t know how, but they can still edit their “news” or have a blog on their site.

    Anyways… I will keep trying to find what to fix in the stylesheet.
    Please let me know if anyone figures this out.

    ??
    3 minutes after I posted the last post, I solved the problem, at least for myself:)

    I found this in my stylesheet:
    p, ol, ul {
    margin: 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.5em;
    }

    I simply removed the “p” and now it works fine.
    I don’t know why… do you?

    I guess we should just not try to format the “p” in the CSS, unless we really know what we’re doing. (this was in already in the theme I picked)

    Thank you “sidneyvollmer”!!!

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘problem formatting paragraphs’ is closed to new replies.