• I’m trying to adjust the paragraph height on our site as the space between paragraphs ends up either too small or too large. If you press enter once at the end of a paragraph, it starts a new line that has a slight gap from the previous line, but not large enough to count as a paragraph break. If you press enter again, it either ignores the command completely, or makes the paragraph space too large.

    I’ve tried using a <b></b> tag in line spaces in the HTML side, but this also results in huge spaces and obviously isn’t the best way of doing things!

    I’ve tried searching the forums and have tried various solutions that have been suggested, but none of them seem to work (I’ve tried adding different pieces of code to the CSS style sheet with no success).

    I’m wondering if it’s something to do with the theme we use – it’s an Organic Themes Non-profit theme. I’m sure it’s a simple fix that’ll just need padding or margin px adjusted, but I’ve no idea.

    An example of the current paragraph appearance can be seen on this post: https://youthworkinit.com/2012/01/09/youth-fundraiser-recycling-cell-phones/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Log into your dashboard and then visit Appearance->Editor and on the right hand side click on the style.css link if it isn’t already active.

    Do a search(Ctrl+F on Windows) and type in .postarea p

    You are looking for

    .postarea p {
    	margin: 0px;
    	padding: 5px 0px 5px 0px;
    	}

    which is about halfway down in the entire file. Change the margin: 0px; to something else to increase the distance between the paragraphs. So something like

    .postarea p {
    	margin: 10px 0px 10px 0px;
    	padding: 5px 0px 5px 0px;
    	}

    Adding the 4 new numbers sets each “side” of the paragraph’s box that contains the text. The first 10px is for the top margin, the second 0px is for the right margin, the third 10px is for the bottom margin and the 4th 0px is for the left margin.

    Thread Starter peps2004

    (@peps2004)

    Hi Jarret,

    Thanks for the suggestion, but that doesn’t seem to be working unfortunately. I’ve just changed that part of the code and it continues acting like it always has. Could it be that there’s another part of the code somewhere that’s overriding this rule?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to increase paragraph height’ is closed to new replies.