Site logo

[Resolved] Reverse date, author, in byline

Home Forums Support [Resolved] Reverse date, author, in byline

Home Forums Support Reverse date, author, in byline

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2417156
    Chris

    Hi,

    Where would I reverse the date/author that is in the byline? I want author (comma), date

    https://rev.press/how-to-register-for-subscribe-with-google/

    Seems like there would be a setting for changing the byline, but I haven’t found it,

    Chris

    #2417174
    Ying
    Staff
    Customer Support

    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;
    }
    #2417222
    Chris

    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

    #2417286
    Ying
    Staff
    Customer Support

    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.

    #2417360
    Chris

    Yes, excellent, thank you 🙂

    #2418529
    Ying
    Staff
    Customer Support

    You are welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.