[Resolved] author photo too small

Home Forums Support [Resolved] author photo too small

Home Forums Support author photo too small

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #975295
    Scott

    Hi guys –

    I used the instruction from this post: https://generatepress.com/forums/topic/author-box-3/

    But I can’t figure out why the author image is so small. Can you help? Link is in the URL field

    THANKS

    #975324
    David
    Staff
    Customer Support

    Hi there,

    can you flush and disable your cache – if the issue persists leave it disabled and let me know so i can take a look.

    #975334
    Scott

    done – still having the issue. THANKS

    #975337
    David
    Staff
    Customer Support

    Edit this CSS:

    .author-box .avatar {
        width: 100px;
        border-radius: 100%;
        margin-right: 20px;
    }

    to:

    .author-box .avatar {
        flex: 1 0 100px;
        border-radius: 100%;
        margin-right: 20px;
    }

    As the author box is using flex the elements within will resize to fit – that flex property says the image can grow (1), it cannot shrink (0) and i would like it to be 100px as the base.

    #975509
    Scott

    That did it! THANKS!!!

    #975512
    David
    Staff
    Customer Support

    Glad to be of help

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