post titles cut off
-
Hello, a couple of post titles are awkwardly cut off on Blogum…all the sudden. Please see latest post called Stuck personified as example. Thank you.
The blog I need help with is: (visible only to logged in users)
-
The site linked to your username is using Wu Wei. Please give us a link to the site in question, starting with http://
-
Unfortunately Blogum has very limited space for post titles on the front page so when you use a long-ish word it will get broken like that. I’m using the same theme and have experienced this on my own blog as well.
I now notice you’ve posted this in the CSS Customization forum. Can’t help you with that, and am not sure this can be solved with CSS, but perhaps one of the members more knowledgeable in CSS than I can chime in.
-
The reason it gets broken is that wordpress, to keep from having orphaned words on a separate line, inserts a non-breaking space between the last two words of a sentence, page or post title. With only two words, and one of them being long, this can happen. It doesn’t happen with the standard theme font, but with the custom font you are using it does.
I can’t find it right now, but there is an HTML character code you can use to put in between the two words that will let them break normally. Panos was the one that posted it, and I thought I had referenced it in my copy/pasta file, but apparently I did not.
-
Thanks for the information…do you have any suggestions? should I just change my custom font?
-
I’ll see if I can get Panos to come to this thread and give you the code to put in between the two words in the title to fix it.
The thing is, with the limited space to the left of the post content, this will likely come up again with another long word. It is one of the drawbacks of this type of theme design.
-
Panos has an HTML character code that you can use between the words that will allow them to break. I’ve posted at Starbucks (cough) with a call for him to drop by this thread.
-
Ah. /lightbulb :)
The only downside I could think of is whether the code will also affect the single post title as well, and somehow I think it will.
-
It isn’t a forced break between the words. It just replaces the non-breaking space with something else that allows the words to break if they need to.
-
-
& e n s p ;
or
& e m s p ;
(without the spaces)
Insert the code before the word you want the title to break on. It tells WordPress you want a small or large space between the two words. -
-
- The topic ‘post titles cut off’ is closed to new replies.