Site logo

Archived topic

Last Modified Date Formatting

5 replies · Started by gedosan on September 24, 2019

Viewing posts 1–6 of 6

Hi guys

I've got last modified date showing nicely but want a bit of CSS to:

- reduce the size & change the color of font
- Add 'Last updated:' before the date
- Add 'written by:' before my name

Possible?

Thanks

Hi there,

- The color can be adjusted in Customizer > Colors > Content. Font size requires this CSS:

.entry-meta {
    font-size: 10px;
}

- Try this:

.posted-on .updated-date:before {
    content: "Last Updated ";
}

- Try this:

.byline:before, .single .byline:before {
    content: "Written ";
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Let me know if this helps :)

Thanks - the font size and 'written by' worked, but not the 'last updated'. Check out the page please.

Hi there,

edited Leo's CSS for the Updated date here

Perfect thanks guys

Glad we could be of help.

This archived topic is closed to new replies.