Digital design

Improve your online presence: Dealing with long post titles

By Yeu-Kang HuaUpdated 4 min read
Zooma-online-vs-digital

Here’s an early Halloween story for online or web editors: The meticulously phrased and, just five minutes ago, perfected headline you created looks totally hideous on a smartphone. The long sophisti­cated word that you found in the thesaurus reminds you of how bad that stylish shirt you just bought fits. What to do?

This is the first blog post in Zooma’s series ‘Improve your online presence’, where we will provide tips and tricks, or secrets if you would, that will finally make you a master over your online presence.

The thing with online and the modern web is that it must adapt to the screen your device uses, which means that the layout, design and typography have to change accordingly to improve the experience. Which is a good thing of course, because smaller screens benefit from bigger buttons and larger font sizes. But as a result, longer words that look good on desktop might become longer than the actual line-width on a mobile device, causing them to be cut off or in worst case break the layout. Web typography has come far, but browsers still don’t know what to do with something that doesn’t fit, at least not in an intelligent way. It’s a bit like feeding a hungry animal that can’t tell when it’s full already.

Long words in titles might be cut off on smaller screens

Don’t worry, your web browser won’t explode, but your .com/.xx might look a varying degree of broken.

Come on closer, don’t be shy

I will now just rudely assume that you know what HTML is and introduce the first trick in this blog series, the HTML entity ­, and explain to you how this magical code is used. Let’s take a look at this word, which incredibly enough is a real word:

‘Supercalifragilistic­expialidocious’

This will definitely not fit in your normal mobile layout, so what to do? We could just add some hyphens/dashes (-) and let the web browser hyphenate the word for us, right?

Nope, take a look at what happens when we resize the screen:

Incorrect hyphenating

Hyphenating is the way to go, but we need to do so intelligently, and only when necessary. Here’s where the entity ­ comes in. The acronym stands for ‘Soft Hyphen’, but when considering that it’s an invisible character that only reveals itself when absolutely needed, I think the ‘shy’ notion fits it perfectly.

To use this entity in the title field, you simply paste/insert/write it at the place(s) you wish to allow your word to be hyphenated. For instance:

How to add the ­ tag in the title field

Which gives us this:

Correct hyphenating

Marvellous, right?

Your post title obviously looks a bit weird now in the admin pages, at least in the eyes of those who are unfamiliar with the entity, but that’s about the only downside: Search engines see it as formatting which means that only the actual words are indexed.

You didn’t think I would teach you a cheap hack that would break your SEO, right? You will find none of that here.

Please note that I cannot guarantee that you will be able to do this directly in the title field if you’re using a Web Content Management System (WCMS) other than HubSpot. It should work though so don’t be afraid to try.

What if I want to hyphenate the other headings?

Glad you asked. You cannot write HTML entities or tags directly in rich text editors, since their job is to take what you’ve written and translate it into—you guessed it—HTML markup. Your ­entity would just appear as text and not do what you intended it to do.

In order to use HTML in the body, you will need to access the source code. Most if not all modern WCMS platforms let you do this, either through a button, menu or a tab. Below is a screenshot of how you enter the source in HubSpot:

Enter the Matrix

What you will see in here might scare you, especially if you’ve never seen HTML markup before. Depending on what WCMS you’re using, you will see a different degree of mess and necessary evil.

I will not go into details about how HTML works, but it should be pretty safe for you to just search for the word you’re looking for and insert the entity where you want it. Just don’t forget to save your changes.

Wrapping it up

I hope you enjoyed the first part in our ‘Improve your online presence’ series, and do let me know if you’d like us to cover something else in this topic by leaving a message in the comment form below!

Keep updated on thoughts, facts and knowledge!

Related articles

opennessandtrustspiral
Inbound

Openness, trust and inbound

Before joining Zooma as an Art Director, I attended Hyper Island in Stockholm—a school that focuses heavily on team dynamics. I remember that one of the first things we got to learn about was the trust and openness spiral. It’s a simple but powerful reminder that is applicable to many fields.

Carl Wåhlander
Carl Wåhlander
12 Nov 2019
Are you still using Photoshop to design websites_Zooma
Digital design

Design tools 2019: Are you still using Photoshop to design websites?

‘Once upon a time, there was a client who demanded all designs to be delivered in PSD format, aka. Photoshop files, and each in two variants: desktop and mobile'...

Yeu-Kang Hua
Yeu-Kang Hua
3 Oct 2019
Zooma_Mobile_Design2
Digital design

Is your website designed to meet a mobile user’s expectation?

When browsing the web today, it’s fascinating how many sites are still not optimised for mobile. Smartphones have had a significant impact on people’s daily behaviours, and to adapt to that change a mobile optimised website is a must. In 2017 we passed 4 billion internet users worldwide, and people expect nothing less than that your site works perfectly on any device, is user-friendly, look great and of course, load fast.

Anna Jodlovsky
Anna Jodlovsky
22 Mar 2018