[Support request] Moving profile picture on desktop to right of author bio

Home Forums Support [Support request] Moving profile picture on desktop to right of author bio

Home Forums Support Moving profile picture on desktop to right of author bio

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2264596
    lewis

    Hi there, I am looking for a way to move the author profile picture to the left of the author profile. Please see attached.

    #2264733
    David
    Staff
    Customer Support

    Hi there,

    theres a few options, mostly rebuilding that layout and using a Grid Block to place the avatar in its own column.
    Or with the current layout:

    1. Add this CSS:

    
    @media(min-width: 1024px) {
        .pull-avatar {
            position: relative;
        }
    
        .pull-avatar .dynamic-author-image {
            position: absolute;
            top: 30px;
            left: 30px;
        }
    }

    2. Select the column Container Block the avatar and profile is in, and in Advacned > Additional CSS Class(es) add: pull-avatar

    #2265235
    lewis

    Great, thanks for that, worked! Was just wondering is it possible to push the author image down so it is centered (see attached)? Thanks

    #2265302
    Fernando
    Customer Support

    Hi Lewis,

    You can try altering the CSS code provided by David into something like this:

    @media(min-width: 1024px) {
        .pull-avatar {
            position: relative;
        }
    
        .pull-avatar .dynamic-author-image {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 30px;
        }
    }

    Hope this helps!

    #2265309
    lewis

    Works like a charm! Thanks guys!

    #2265353
    Fernando
    Customer Support

    You’re welcome Lewis!

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