Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #343227

    flittrst
    Participant

    Hi there,

    is there a way to get the author photo vertically centered (when viewing on desktop) and horizontally centered (when viewing on mobile)?

    When viewing on my iPhone it should be centered horizontally (above my name):

    When viewing on my Desktop it should be centered vertically (next to my name):

    URL is http://www.adsventure.de/

    Is this possible somehow?

    Thanks guys for your awesome work and theme! all the best!

    #343375

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    I can see that on desktop author image is vertically center.

    To fix the issue on mobile kindly use following CSS under Custom > CSS in the Customizer:

    @media (max-width: 480px)
    .x-author-box .avatar {
        display: block;
        float: none !important;
        margin: 0 auto;
    }

    Thanks.

    #343799

    flittrst
    Participant

    Got it, thanks a lot!!!

    #343804

    Paul R
    Moderator

    You’re welcome!

    #359324

    flittrst
    Participant

    Short question regarding that topic again:

    Now, on desktop view, the text breaks under the photo:

    Do you know a quick fix for that?

    This happens only, when the photo is displayed left next to the text

    Thx!

    #359448

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Kindly use following CSS under Custom > CSS in the Customizer:

    @media screen and (min-width: 800px) {
        p.p-author.mbn {
        margin-left: 109px !important;
    }
    }
    

    Let us know how it goes.

    Thanks.

    #359843

    flittrst
    Participant

    as always: perfect help <3 thx!!!

    #359855

    Thai
    Moderator

    You’re most welcome 🙂