When WordPress moves the goalposts

There is a particular kind of frustration that comes with buying a new computer. You expect everything to be faster and newer. What you don’t necessarily expect is to discover that some of the things you have been doing quite happily for years have quietly disappeared. Especially as I have, over the past 14 years and almost 800 posts, developed a ‘look’ for my site.

I recently ran into this with WordPress. My old laptop had an old version of the WordPress Classic Editor which, although hardly cutting-edge, did exactly what I wanted. In particular, when I inserted an image I could adjust its border and specify the amount of space above, below, to the left and to the right. It was simple, visible and useful.

The new laptop had other ideas. WordPress offered me the Block Editor, which I politely declined. I installed the Classic Editor plugin instead, and at first everything looked reassuringly familiar.

Almost everything.

The image controls I had been using had gone. They were not hiding somewhere in the settings. They had been removed from WordPress itself some years ago. The Classic Editor brought back the familiar editing environment, but it could not bring back every bit of functionality that had once gone with it.

This seemed unnecessarily irritating. I had not asked WordPress to improve the way I handled pictures. I had simply bought a new laptop.

There was, however, a solution. WordPress allows additional CSS—Cascading Style Sheets—to be added to a site. CSS is the language used to control the appearance of web pages: borders, margins, spacing, fonts, colours and much else besides.

So I created a few simple CSS classes. One gives an image a black border, another a red one (that I use to denote images that will open in a new tab). Others add a specified amount of space above, below, left or right for fine-tuning the position of an image relative to text. And, rather neatly, several classes can be applied to the same image. Thus an image can have a red border and extra space above it simply by entering the two class names.

It isn’t quite the old system. I have to remember the class names rather than type a number into a box. But it works, and I don’t need to install some ancient, unsupported plugin in an attempt to recreate a feature that WordPress decided I no longer needed.

There is probably a lesson here. Software developers have perfectly good reasons for changing things, and progress is generally welcome. But there is a difference between improving something and removing a feature that somebody has been using quite happily for years. If it ain’t broken, don’t fix it, as the saying goes.

In the end, I have got my image controls back—by learning a little CSS along the way.

I suppose that is progress. Although I still think WordPress might have saved me the trouble.