Site logo

Archived topic

Reverse date, author, in byline

5 replies · Started by Chris on November 15, 2022

Viewing posts 1–6 of 6

Hi Chris,

Try this CSS:

.single-post .entry-meta {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.single-post .entry-meta .byline:after {
    content: ", ";
    padding-right: 0.3em;
}

I like that idea for readers, but would prefer to have the author name first in the source code as well.

Would editing the theme (child theme) be the only way to do that? There aren't any settings in Generate Press that would affect it?

Thanks,

Chris

I like that idea for readers, but would prefer to have the author name first in the source code as well.

I would recommend using a block element - post meta template, so you can create the layout using blocks.

Yes, excellent, thank you :)

You are welcome :)

This archived topic is closed to new replies.