Join the Webstudio community

Updated 3 weeks ago

Binding Background Images in Boxes

Hey All,

I am building out a blogging site with Wordpress as the backend, and everything is going well, other than a few minor issues.

I am right now trying to figure out the best way to implement a feature image that's centered, regardless of its resolution or size.

If I was doing raw HTML in this situation, I would just set the background image, then use some CSS to center it, size cover, and get the exact result I need.

However, it appears I can't bind the background image.

Does anyone have any suggestions as to what I could do?
O
B
2 comments
use Image component in combination with object fit property
That worked, thanks!
Add a reply
Sign up and join the conversation on Discord