-
I tried a lot, but I failed to center the container having the image.
Also, despite adding more negative margin, the image refuses to move up.
Can you please help me fix it?
-
Hi there,
Not sure if I fully understand.
Are you trying to center the image or move it up?
-
I want to do both. First to center and then move it up using negative margin.
-
Try setting the GB container that holds the image block to:
display: flex
andjustify-content: center
Reference: https://docs.generateblocks.com/article/layout-options-overview/#display
Then add the negative margin to the GB image block itself.
Let me know if this helps 🙂
-
Thank You very much was struggling hard. Now I understood the concept.
-
No problem 🙂
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.