[Resolved] Gravatar Image Position

Home Forums Support [Resolved] Gravatar Image Position

Home Forums Support Gravatar Image Position

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2377121
    Dev

    Hello,

    Please check the screenshot.

    https://prnt.sc/0pq1dyimY2Nz

    Also, check the below reference website page. I want to place the author’s (gravatar) image like that.

    https://www.safalniveshak.com/long-term-investing-is-hard/

    #2377213
    David
    Staff
    Customer Support

    Hi there,

    you will need to add the avatar image block inside its own Container Block which has the same white background.
    Then you can select the Image block and set its Top Margin to a negative value eg. -50px to pull the image up so it hangs over that container.

    #2377476
    Dev

    Hi,

    I did what you said, but the image is coming toward the left.

    Can you please check this screenshot? https://prnt.sc/aJ6e6PSQW5fl

    #2377488
    David
    Staff
    Customer Support

    You moved it inside the Container with your post meta.

    Instead you need to add another container before that, and move the image inside.

    #2377691
    Dev

    Hey, sorry to bother you again.

    The image has come up in the center but not down to the white space’s center.

    Can you please see that agin? https://prnt.sc/prldiFNbkz3P

    #2377739
    David
    Staff
    Customer Support

    Ok, so select that new Container Block that the image is inside.
    And change Layout > Container to: Contained Width
    Then in the Container Width field: 1130px
    Then set its Background Color to White.

    Now select the Image Block, and set its Spacing > Margin Top to -50px

    #2378320
    Dev

    Hi,

    I did what you said, but still, the image is not going in the center as it’s on the below page.

    https://www.safalniveshak.com/long-term-investing-is-hard/

    Please check this screenshot of my site. https://prnt.sc/c7oqgrHv7E2v

    I have added my site URL in the private box. Please let me know.

    #2378521
    Dev

    ???????????

    #2378558
    David
    Staff
    Customer Support

    Ok, keep what you have and do the following:

    1. Select the Image Block and:

    i) remove the Negative Top Margin.
    ii) go to Advanced > Additional CSS Classes and add: overlap-image

    Publish those changes.

    2. Add this CSS to your site.

    
    .overlap-image {
        margin-top: -50px;
    }
    #2378615
    Dev

    Hi,

    It’s done as needed thanks, man 🙂

    #2378645
    David
    Staff
    Customer Support

    Glad to be of help!

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