- This topic has 10 replies, 2 voices, and was last updated 5 months ago by
David.
-
AuthorPosts
-
October 18, 2022 at 12:57 am #2377121
Dev
Hello,
Please check the screenshot.
Also, check the below reference website page. I want to place the author’s (gravatar) image like that.
October 18, 2022 at 2:50 am #2377213David
StaffCustomer SupportHi 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.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 18, 2022 at 7:18 am #2377476Dev
Hi,
I did what you said, but the image is coming toward the left.
Can you please check this screenshot? https://prnt.sc/aJ6e6PSQW5fl
October 18, 2022 at 7:30 am #2377488David
StaffCustomer SupportYou moved it inside the Container with your post meta.
Instead you need to add another container before that, and move the image inside.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 18, 2022 at 7:53 am #2377691Dev
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
October 18, 2022 at 8:17 am #2377739David
StaffCustomer SupportOk, so select that new Container Block that the image is inside.
And changeLayout > Container
to:Contained Width
Then in theContainer Width
field:1130px
Then set its Background Color to White.Now select the Image Block, and set its Spacing > Margin Top to
-50px
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 19, 2022 at 12:06 am #2378320Dev
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.
October 19, 2022 at 4:16 am #2378521Dev
???????????
October 19, 2022 at 5:03 am #2378558David
StaffCustomer SupportOk, 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; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 19, 2022 at 5:54 am #2378615Dev
Hi,
It’s done as needed thanks, man 🙂
October 19, 2022 at 6:18 am #2378645David
StaffCustomer SupportGlad to be of help!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.