Site logo

Archived topic

Image within container not showing on mobile (Relay)

5 replies · Started by Simon on February 17, 2022

Viewing posts 1–6 of 6

Hi Simon,

That's not the case here.

In Relay's case, there's something to do with the Flexboxstructure.

If you want the image to show on mobile, just simply add some top padding to the parent container on mobile.
https://www.screencast.com/t/ofdREhpJXY

Hi Simon, it's George here, I designed the site. It was the intended behavior. The image is set as the grid container background. On mobile, it gets overlayed by the content so it's not visible. You can set some top padding on the grid container for mobile, as Ying mentioned, it will show a portion of the image at the top. Alternatively, you could set some bottom padding to show a portion of the image at the bottom.

Hey Ying and George!
Thanks ever so much for this. It gives me the option of showing the images now if I need to on some posts.
Cheers!

Excellent, thanks!

You are welcome :)

This archived topic is closed to new replies.