Site logo

Archived topic

How to adjust 'Last updated' date?

3 replies · Started by crosby87 on June 2, 2021

Viewing posts 1–4 of 4

Hi there,

You have previously provided a short code to add Last Updated date in case the blog post is modified:

/*Add last updated date to blog posts*/

.posted-on .updated {
    display: inline-block;
}

.posted-on .updated + .entry-date {
    display: none;
}

.posted-on .updated:before {
    content: "Utoljára frissítve: ";
}

/*Code end */

It works perfectly, except I noticed that on SOME (not all!) of my blog posts the Last Updated (Utoljára Frissítve) text breaks.
Please see here: https://imgur.com/zZq6BN0

As you can see part of 'Last updated' goes into another row.

In a similar blog post with the same margins the date works perfectly (i.e. it is not breaking): https://imgur.com/3pUfkfo

Could you please help with this?

Hi there,

can you link me to the post where the date is breaking to a new line

This archived topic is closed to new replies.