-
AuthorPosts
-
September 17, 2018 at 9:11 pm #1010982
I’m getting a lot of very odd line breaks in the middle of sentences. Places where there’s plenty of room on the line, but randomly the line of text will break onto a new line. Overriding line 39 in base.css “* { -moz-box-sizing: border-box;; -webkit-box-sizing: border-box;; box-sizing: border-box; }” fixes the line breaks. Is this really needed for anything else in Enfold? Will it break responsive layouts or anything like that if I overwrite it?
September 18, 2018 at 5:29 am #1011072Hey calebcuster,
Thank you for using Enfold.
The elements will become much bigger because padding and borders are going to be included in the elements’ size calculation.
More info here: https://www.w3schools.com/css/css3_box-sizing.asp
Where we can see the line break issues?
Best regards,
IsmaelSeptember 18, 2018 at 7:38 pm #1011472One example would be this page at 800px wide view point. You’ll see “alma” on it’s own line with nothing next to it while the rest of the tag gets pushed down. Meanwhile “Awards/Competitions: 1st” extends beyond the column width when there could be a line break after the colon.
You’ll also get it on this page at 770px wide:
“Hamlet Overture” will go over the column width instead of breaking after “Hamlet”. It kind of causes issues with columns that have inline elements like in them.
September 19, 2018 at 4:04 am #1011598Hi,
Thanks for the update.
Is the css code active? I can’t seem to reproduce the issue on my end. Did you copy the content from another source? You should inspect the markup and check if there are extra tags like paragraph or line breaks.
Screenshot: https://imgur.com/a/RtHjxqQ
Best regards,
IsmaelSeptember 19, 2018 at 4:11 am #1011600Yeah, it’s live now. That’s what I thought too but there are no line breaks or paragraph tags. It happens in the middle of bold tags. Normal unformatted text seems to break fine. You’re not seeing it because the screen is too large in your screenshot. It only happens on that page at 800px or below.
September 19, 2018 at 9:11 am #1011665 -
AuthorPosts
- You must be logged in to reply to this topic.