Formatting issues after transferring old site to Pro

Hi,
I’ve transferred about 800 posts to my new Pro website and I’ve lost a lot of the formatting. Most of the paragraph line breaks are gone and some of the breaks within the actual lines. Many of the posts are poems, so need special formatting.

Wordpress told me to add this code to the Pro customiser CSS -

.entry-content br{
line-height: 3em;
}

  • to catch the
    breaks but now there are some breaks where there shouldn’t be and no apparent reason in the text editor. Many of the posts were written in visual editor using a Woo theme from 2011.

Help!

Hi,

Can you provide us your site url so we can take a closer look.

Thanks

Thanks!

I’ve removed the code -
-.entry-content br{
line-height: 3em;
}

because even though it fixed the paragraph breaks, there were extra line breaks everywhere. Posts in the Poetry category had breaks between each line (probably because they were written in the old visual editor by hitting the return key for every line and Pro or wordpress has converted the line spacing to p tags ??)

I’ve installed the TinyMCE Advanced plugin and set it to keep p and b tags in visual editor, but I’m still missing paragraph breaks in the older posts. eg https://verityla.com/2015/02/27/the-anchoress-robyn-cadwallader/

Also, you’ll see in that post that there is a duplicate image. In the old theme, images were set as a featured image as well as being inserted in the post. Is there a way to remove the duplicate images in the old posts?

Hi,

Thank you for providing your url.

Upon checking, it looks like your old theme are inserting formatting code to your post content.

Please note that each WordPress themes come with different customization options. In fact, there are some WordPress themes that come with tons of customization options controlled by their own theme options panel.

An example of these settings are your site’s logo, favicon, header, background image, etc. All of these settings will disappear when you switch to PRO theme.

If made a list of changes, then you can probably try setting those things up in PRO theme. However, it is also possible that your old theme has features that are not available in PRO or features that are being implemented differently.

Having said that, I am sorry to say that you will need to update your post content in a way that it conforms to your new Theme Settings.

Thanks

Difficult to update 800 posts when I’ve already transferred the site.

Can you help with the duplicate images?

Is there a way to replace b tags with paragraph breaks across a specific category? Can I put some CSS in the Pro customizer to do that?

Hi @ahtraining,

In regards to your duplicated images, not sure which one you want to remove. To remove the first one, you could use the code below:

.entry-featured {
    display:none;
}

I could not figure out what CSS to add to replace b tags with paragraph breaks. In this case, please share us your admin credentials so could check further. I could not guarantee t hat we could make it however we could give it a try.

Don’t forget to set it in a secure note.

thanks.

I want to remove the image in the post, but not the featured image.

I think I have solved the tag problem by changing the size of the <br> tags in the affected categories.

Thanks.

Hi,

To hide all images in your post content, you can add this in Theme Options > CSS

/* hide all image in post content */
.single-post .entry-content img {
    display:none;
}

Please note that this might cause more issues in the future, I strongly suggest editing the post itself and remove the image from content.

Thanks

Thanks :smiley:

Hi @ahtraining,

You’re most welcome.

FEel free to ask us again.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.