Backround image for card component

Is there any way to have the card component backround display an image or design instead of just a flat color?

Hello,

You may try searching the forum for “background image”.

Here’s one result:

Perhaps you will have luck extrapolating that to a Card component.

You may also want to check out the docs on “roles” as this might be a clean way of targeting the cards that you want an image on (with CSS).

Good luck!

In the assets i have uploaded an image i want to have as the backround of the card role. but when i set backround: url(_/theme/image.png) in css nothing changes

Without more information, I can only guess that there is something amiss with the code somehow.

sorry im just using the feedback demo form to test it out.
so the html and css code is all default besides changing backround to the url

Error was backround -> backround-image: url(…)
works now.