Streaming live at 10am (PST)

Unable to resize a div block height

Hi,

I used cards section layout and am trying to edit the size of the " cards images mask" div. I notice that I can adjust the width but not the height. How do I reduce the height? Attached is the screenshot for reference. Any help is sincerely appreciated

screenshot|508x499

Here is my site Read-Only:

For these elements the height is controlled by the top padding:

image

Thanks @mikeyevin

How do I ensure that the image is centered within the div block?

TLDW: Make your image element 100% width and height, set it’s position to absolute, and remove any margin or position adjustments.

Thanks a ton for your immediate response and detailed video :smile:

1 Like