Site logo

Archived topic

Gravatar Image Position

10 replies · Started by Dev on October 18, 2022

Viewing posts 1–11 of 11

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.

You moved it inside the Container with your post meta.

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

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

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

???????????

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;
}

Hi,

It's done as needed thanks, man :)

Glad to be of help!

This archived topic is closed to new replies.