How to use Component Uploads

Hi there!

I wonder how I can use the Upload in a Component. I added an image and now want to display it
image

Thanks!

This is related to Category specific Disclaimer - #5 but I changed the entire Code

Ok, this is embarrassing but after searching for weeks, and now posting, I found a solution by asking AI… :face_holding_back_tears:

in your CSS just write:
.disclaimer {
...
  background-image: url('#{$SCSS-VARIABLE}');

And the SCSS-VARABLE Name you get from:
image

1 Like

No worry :smile:.

The relevant documentation was here: Include assets (e.g. images, fonts) in themes and components.

Don’t hesitate to give a look here :+1:

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.