[Resolved] Center author name in author archive page

Home Forums Support [Resolved] Center author name in author archive page

Home Forums Support Center author name in author archive page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2022060
    Oliver

    Hi – I am trying to center align the author name on the author archive page. If you look at the link below the name “George” is to the left, but I would like it centered.

    [edited]

    Could you advise what CSS to use, please? Thank you!

    #2022151
    Leo
    Staff
    Customer Support

    Hi Oliver,

    Do you want to center the archive title for author archive only or all archives?

    Let me know πŸ™‚

    #2022182
    Oliver

    Hi Leo, ideally for all archive pages. I have managed to do it here:

    [edited]

    The category is centred using CSS, but I can’t figure out how to centre the author, or ALL archive titles. I also want to be able to centre the ‘category description’, although I haven’t actually added this on the site yet.

    Thank you
    Ollie

    #2022194
    Oliver

    I used the following CSS to make the category archive title centred:

    h1.page-title {
    text-align: center;
    }

    But the author archive title is still aligned left.

    #2022202
    Leo
    Staff
    Customer Support

    Try this:

    .author .page-header .page-title {
        justify-content: center;
    }
    #2022217
    Oliver

    Yes, that worked! Thank you.

    #2022290
    Leo
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.