- This topic has 5 replies, 2 voices, and was last updated 4 years, 9 months ago by
Tom.
-
AuthorPosts
-
April 20, 2016 at 2:27 pm #188208
Andy
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.
April 20, 2016 at 11:44 pm #188244Tom
Lead DeveloperLead DeveloperI 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; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 21, 2016 at 3:49 am #188317Andy
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.-
This reply was modified 4 years, 9 months ago by
Andy.
April 21, 2016 at 9:12 am #188368Tom
Lead DeveloperLead Developer“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 π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 25, 2016 at 5:50 am #189225Andy
I’ve built many WordPress sites and I’m embarassed to say I never new you could do that!! – Thank you!
April 25, 2016 at 10:24 am #189304Tom
Lead DeveloperLead DeveloperYou’re welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
This reply was modified 4 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.