• Resolved ginaritter

    (@ginaritter)


    I assume this is a CSS issue because someone built this website for me years ago. I’m finally starting to blog on it.

    When I use other WP blogs, I simply copy/paste my text and publish.

    With this one though, I copy/paste and the published piece no longer has breaks between paragraphs.

    I have to go in and manually use code to get the breaks I need in text. Not only is this a huge time suck already, but for some reason, they often disappear and I have to do it again.

    Help! And thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m sure this is not a CSS problem because there is this bit in theme’s CSS

    
    #content p, #content ul, #content ol, #content dd, #content pre, #content hr {
        margin-bottom: 24px;
    }
    

    The problem could be either A or B

    A: The copy and then pasted text doesn’t have hard return (one enter without shift) between the block of texts (paragraphs). We can test if this is the case by simply type in some texts and separate each block of text with one full blank line, do this on a test post and see how it looks on the front end.

    B: The text are okay (with a hard return / one enter without shift) for each paragraph but there is some theme/plugin function conflicts that prevents WP from automatically inserting in the <p> tag. We can test if this is the case by disable all plugins and make a test post. If this fix the issue then re-enable them one by one to target the culprit. If this doesn’t work, it could be the theme itself that causes the problem. It depends on how old the theme is, with recent version of WP, some functions in the theme might not be compatible.

    The info in theme’s CSS says that it’s a theme based on Twentyten, so it’s pretty old. I’d strongly suggest using a newer theme, there are plenty out there to choose from and to customize on. In general, it’s not a good idea to keep using old theme, software needs to stay updated, some famous themes used over at WordPress.COM get retired because it’s impossible/impractical to update theme that’s built using old function/markup.

    Thread Starter ginaritter

    (@ginaritter)

    Yikes, changing the theme scares me so much, but it sounds like it’s worth it. I’ll try the plugins first, but it sounds like I need to embrace a new theme anyway.

    When I copy/paste into my other sites that have new themes and few plugins, there’s no issue with line breaks, so it has to be something from this old one that was built about 7-ish years ago and then sat untouched.

    Thank you!

    @ginaritter Don’t be afraid to try new theme. Switching theme just to try them out do no harm to the site. Another thing to consider is that we need to have regular full site backup, this is what everybody should do routinely. Most shared webhosts have this one-click backup option, some of the hosting companies do backup automatically, but some won’t.

    • This reply was modified 6 years, 7 months ago by paulwpxp.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘There are no automatic breaks in text’ is closed to new replies.