Hi, I’m having trouble getting my Project Cover Link which contains an image block to be centered within each grid cell. The parent element indicates content should be centered, I also tried additionally adding properties to the child elements, but can’t see to get them centered. Actually, this happens to me anytime I add an image block and reduce the width in %. I should be able to resize how wide I want the image while also controlling how it is justified and aligned on a page.
commenting for reach
hi @altkey there is a several ways “how to”.
Here are two ways:
First Option
- set
Project Cover Link
as block - set image as inline-block
Second Option
- set
div
as flex - set
direction
of this flex as column X
set centerY
set center
your call
1 Like
That solved it, thank you very much! I’m finally getting familiar with Webflow but still run into a road block with a simple solution here and there. Thanks again.
1 Like
hi @altkey you will get there eventually but I always recommend to everyone take free courses of HTML and CSS before even touch WF to understand how things works as “no code” is not equal “no knowledge”
I have done a fair share of HTML, CSS, and Python in the past and understand the logic, but definitely have lots more to learn!
1 Like