Site logo

Archived topic

Text extending outside container

5 replies · Started by Andy on April 20, 2016

Viewing posts 1–6 of 6

Hi,

I'm in the process of rebuilding my portfolio site with GP after accidentally deleting the WP database a few weeks ago (no backup available *sigh*).
The original used a different theme but after building a few sites with GP and liking it I decided to switch to rebuilding the site with this theme.

However, I've unfortunately just come across a strange issue which I've not encountered on my other GP builds.
When typing a continued paragraph in the Wordpress visual editor it is breaking out of the container on the front end, eg:) http://agtdesigns.co.uk/services/

I've tried deactivating the Pootle Page Builder and Content Views plugins that I have installed but this has'nt helped.

Any ideas? Can give you login privately if possible.

I guess the real question is when would you ever have a word that long in a production site ;)

However, to fix it, you can add this CSS:

.entry-content {
    word-break: break-word;
}

Thanks - the issue came about because I noticed when starting a new line it was creating a new paragraph and the spacing between lines looked too big. I reduced the margin-bottom of paragraph's with CSS but then thought,
I'm sure there used to be a checkbox at the bottom of the editor in Wordpress which said something like 'automatically create paragraph's' which could be turned off, I guess I must be imagining that.

"Automatically add paragraphs" is an option in the core Text widget (and our Page Header add-on).

To create a new line without adding a paragraph, hold Shift + Enter :)

I've built many Wordpress sites and I'm embarassed to say I never new you could do that!! - Thank you!

You're welcome :)

This archived topic is closed to new replies.