Image displays within large container
-
I am trying to get an image to popup and scale down proportionally. Literally, I just want the image to appear. The width of the
.ig_pop
is set to 58% by default so it adds a lot of extra whitespace. If I change the width to reduce it to the image width, (36%), then on mobile the image will appear tiny. And if I change the width to 100%, so on mobile the popup looks good, then the.ig_pop
white background is full width on desktop and thus doesn’t allow the user to click on the side of the image to close it, only above or below. See screenshots belowScreenshot – top image is width 100%; user can click on white to close. Bottom image is width set to just the image width; since the % is 36, on mobile, the image will appear tiny.
- The topic ‘Image displays within large container’ is closed to new replies.