Hey there! I have no idea what you mean. But do you mean like this?
Yes exactly
Applying this position only this specific image
You can’t change it for a specific image. You will have to change the background image position for the div on mobile. Like this:
Thanks @ToreSBentsen I tried this already. But it affects all other images.
I inverted horizontally the image and now it fits. Thanks for the help!
Use the object-fit method for the image. Set the position of the image:
- Add an “Options” field in the CMS. Set the values to “Top”, “Center”, “Bottom”.
- Then in the Designer, make 3 copies of the same image. Each image will need a separate class (or combo class)
- Set the positions for each image in the object-fit panel.
- Set a conditional parameter to only show the image according to the option selected (“Top”, etc.) in the CMS. The others will not be shown. For example: The image (with class of “Top”) will show when the option in the CMS is set to “Top” because the conditional directs it.