Streaming live at 10am (PST)

Can't Resize Image


#1

I have an image within a DIV but I can’t change the dimensions of the image using the DIV. I would like the image size to change in other screen sizes, so I don’t want to change the dimensions of the actual image.

Right now, the image inside the DIV looks like this and I can’t resize it by changing the padding/margin of the DIV:

I would like it to look like this (I had to do this by modifying the actual image):

How can I resize this image by resizing the DIV that contains it?


Here is my public share link: LINK


#2

Hi @cammywlin

In this case I recommend giving the image a class name and adjusting the dimensions in the style panel rather than the image settings. This will allow you to define a different image height for all breakpoints.

Here is a GIF showing this.

Hope this helps :slight_smile:


#3

Well, that was silly of me! Thanks so much!


#4

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.