Skip Navigation

[Resolved] Dynamic Background image in a View : how to set the image size?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by jeanL-2 1 year, 8 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2553453

Tell us what you are trying to do?

I have a view that presents stays. The presentation of these stays includes a dynamic background based on an image provided through a form. However, the image in the background is always in full size... I would like to adapt its size to avoid the weight being too important. But I can't find the option to do so. What solution do you suggest?

What is the link to your site?
hidden link

#2553519

Christopher Amirian
Supporter

Languages: English (English )

Screenshot 2023-02-13 at 16.25.23.png

Hi there,

This seems to be more of a styling matter from your theme and CSS.

I checked my browser console and here is the CSS of the background (attached image)

Maybe you change the Aspect Ratio in the CSS code? It's best to ask the theme developer about this.

Thanks.

#2557987

I found the solution using directly the dynamic image short code in css integrated to html using a html block. it works well