I have some problems :e
If I use Display Setting to move texts to the position I want
(elements: heading, image in the collection item)
When I change the browser window size,
the texts position will not correct
If I use background setting
It’s not allow use images from CMS
First, I see that you’ve added both a background image and an image element. To achieve the design you’ve shared above, I recommend that you use only a background image.
Second, you don’t need to use margins and paddings in the display settings to position elements. Also, you don’t need to use positioning values to position these elements. All you need to do is nest the elements in the collection item.
See how you can fix it:
If you do it this way, you won’t even need to make a lot of changes on smaller devices.
See me build this from scratch, it’s faster than fixing it:
Also, I noticed that you have uploaded very large images in the CMS:
Large images can cause many issues and may be increasing the number of requests made on the page which slows down your site and may result in error messages. Typically, we recommend that you use images that are ~200-300kb or smaller, and for dimensions we recommend 1080px or 1920px wide to make sure they run smoothly on your site. I recommend that you compress these images before uploading to Webflow. There are many resources that you can use to resize and compress your images, tools like Photoshop, tinyjpg.com, tinypng.com, ezgif.com/resize.
Hope this is helpful. If you have any other questions, please don’t hesitate to reach out, and I’ll be happy to help!
Actually, I hope that the image(BG) can always shows by 1:1 whatever the width of window is.
I set the height is 400PX now, but that is not 1:1 when I see the page in other size of window.
What I need to set?
To keep the aspect ratio with a background image, you’ll need to set the div block containing the background image to have fixed width and height values. So for this specific case where your width is always fluid, using an image element makes more sense. That’s because media elements keep their proportions when resized.
Set the hight of Collection item 5 to auto. Clear the height value on all breakpoints so it inherits the auto value from desktop.
Remove the background image from Collection item 5. Add an image element inside it and connect it to the cover image
Remove the background image from the cover block and set it to position: absolutefull. Add an image element inside it and connect it to the hover image.
Add the cover title and cover description in a div block. Set that div block to position: absolutefull. And drag it above the image.