• Resolved khalidslife

    (@khalidslife)


    Hi all,

    I’ve searched the forums but couldn’t find a specific answer to my post so I’ve decided to open a new thread.

    Example: http://www.edinburghguesthouses.co.uk/attractions/the-royal-botanical-gardens/

    There are no paragraphs. Here’s what I tried…

    1. I edited the-excerpt on single.php to be the-content as only the first paragraph was showing. This didn’t affect anything.

    2. I tried copying and pasting the content to notepad then back in to the wordpress file but that didn’t work.

    3. I changed the style.css line

    p.clr, .clr { clear:both; padding:0; margin:0; background:none; margin-bottom: 1.5em; }

    I added in “margin-bottom” and changed “margin” to 1 but that didn’t work

    4. Because of point one I added

    .post-content { font:normal 13px Arial, Helvetica, sans-serif; color:#838383; padding:5px 0; line-height:1.8em; margin:1; background:none; margin-bottom: 1.5em; }

    That didn’t work either.

    Help please!

Viewing 12 replies - 1 through 12 (of 12 total)
  • I’m not 100% sure what you mean by “There are no paragraphs”.

    The paragraphs are there just fine – look at the code. however there is no margin between paragraphs.

    Try adding this code:

    .post-excerpt p{margin-bottom:2em;}

    Thread Starter khalidslife

    (@khalidslife)

    hi, your solution partly worked on posts but not on pages…

    see: http://www.edinburghguesthouses.co.uk/about/

    there is no line between where “free of charge” ends and the new line beginning “edinburgh guest houses”

    thanks!

    Oddly enough, I am having this same problem as well. I just switched to a new WordPress theme called ‘Techified’ which I love so far, but I noticed when I read my own article that there is no spaces in between paragraphs! I’m not exactly sure why, since it appears just fine in the post editor.

    I’m not really sure how to fix this, I’m sure a tiny edit of code would fix this. It’s the only issue I have with the theme, but It’s a huge problem to me and it bugs me!

    Here is a screen shot of what I mean.

    Any help would be much appreciated.

    Hey Jint, Thanks!!!

    I just highlighted text in my problematic post to retrieve the CSS Style reference to the post styling in style.css with the FireBug addon for Firefox and just edited the code you gave to help out the other guy to:

    .fullbox .post_content p{margin-bottom:2em;}

    and it worked perfectly. I’m assuming I can use the same method (firebug) to fix the issue for page.php post styling too!

    Thanks a bunch, you’re a lifesaver.

    Thread Starter khalidslife

    (@khalidslife)

    @canibus congrats on getting it working for you but it isn’t working for me!

    Thank you! have you tried applying the same technique .post-excerpt p{margin-bottom:2em;} to perhaps .post-content p{margin-bottom:2em;} ?

    Or maybe there’s somewhere else in your style.css that reference’s to your page posts, do you use firebug?

    Thread Starter khalidslife

    (@khalidslife)

    yep this is in my stylesheet

    .post-excerpt p{margin-bottom:2em;}
    .post-content p{margin-bottom:2em;}

    Well I honestly don’t know a lot about this, I just copy and paste things around until they work after making my best judgements of what should work where lol.

    Try something along the lines of:

    .post-content .content p{margin-bottom:2em;}

    Thread Starter khalidslife

    (@khalidslife)

    sorry doesnt work

    Thread Starter khalidslife

    (@khalidslife)

    i fixed it.

    i basically went into single.php and copied the php code for displaying the content and pasted it over the page.php code for displaying it.

    thanks for everyones help.

    Well I’m gonna stop typing then, rather than just mess up this thread with useless snippets :o(

    Regardless, you’re getting closer to your fix! At least for now your single.php posts work fine. I’m sure one of these super-smart guys will resume helping hand when they get a moment.

    Good luck!

    Oh Grats :o)

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

The topic ‘No paragraphs in post’ is closed to new replies.