• I’ve been trying to put up a post for the last hour, and cannot figure out how to increase the spacing between my paragraphs to make different sections.

    I’ve read a bunch of other questions on this, and most of the responses talk about going to the Code section and messing around with that. The problem is, my Code section isn’t showing me code – it looks exactly the same as the Visual. If there were a way to format without using code, that’d be amazing. Otherwise, the simpler the explanation better.

    Here a link to the previewed post …http://67.228.25.39/wordpress/?p=14&preview=true I would really really appreciate any help as this is for work, and I’m absolutely terrible at these things but Need to get this up today.

    Thanks very much

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    I’ve been trying to put up a post for the last hour, and cannot figure out how to increase the spacing between my paragraphs to make different sections.

    Err.. you don’t increase the space between paragraphs. HTML does not work that way.

    The HTML defines the content, not how that content looks on the page. If you want to space out paragraphs from each other, then you edit your CSS to increase the space between them, by adding margins or padding or something.

    Thread Starter lizziekaplan

    (@lizziekaplan)

    So there is no way to just press enter a few times to get the spacing you want, and get that formatting to stay?

    Thread Starter lizziekaplan

    (@lizziekaplan)

    And when I go to try and change the settings on CSS, it says “If this file were writable you could edit it.”

    You could do this in your stylesheet:

    p { margin-bottom:20px; }

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    So there is no way to just press enter a few times to get the spacing you want, and get that formatting to stay?

    Well, yes, but also no. See, you’re putting in content, not the format of that content. This is the web, it’s not like Microsoft Word.

    People do not necessarily read what you type only on your web page. You’re making a blog here, it has other methods of reading it. Feeds, syndication, things like that. Some of those methods send, basically, only your text and some basic images.

    So no, you should not attempt to format your content right there in the writing section. You should write it, and then let the formatting be determined by how the person is viewing it. If they’re viewing it on the web page itself, then the stylesheet and the theme determines how it is displayed.

    Notice how modern HTML has all this markup like “headers” and “paragraphs” and “strong” and “emphasis”? These describe the content itself, not how that content *looks*. Yes, strong is usually bold, but it doesn’t have to be is the point. Strong means that the content itself should be strong at that point. The paragraph tag marks where the paragraphs are, not how they’re spaced out on the page. Semantic markup, that’s the key. You separate the style from the content.

    It is possible to do it in the way you’re thinking, but it’s not recommended as it breaks things, and when things are broken then that generally reduces your reader base.

    And when I go to try and change the settings on CSS, it says “If this file were writable you could edit it.”

    Use your FTP program to download your theme files, edit them, then reupload them. Or change their permissions to make them writable.
    http://codex.wordpress.org/Changing_File_Permissions

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Paragraph Spacing without Code’ is closed to new replies.