Pricing Blog

Setting background image of div element using style variables

  • lfggjonesy-1444131779257696458

    Jonesy

    1 day ago

    I have been trying to use style variables to dynamically set the backgound image of a Div that is reapeating. I tried using the AI but it didnt seen to know what was going on.

    I was able to get the style variable to return the image URL. but i was not able to get the variable to connect to the background image. and get it to display. Not to sure what i am doing wrong
    1444131779475673179-Image_11-28-25_at_8.02_PM.jpeg
    1444131779970727956-Image_11-28-25_at_8.03_PM.jpeg
  • Tod-1444131789248532530

    Tod

    1 day ago

    Great job @Jonesy! Your contribution to the Nordcraft Community just made you advance to Community Level 1! 🌲
  • lucasg-1444146199450878016

    Lucas G

    1 day ago

    Could use a style attribute in the meantime
  • 1444146210922434631-image.png
  • whitep4nth3r-1444228607168876637

    salma

    21 hours ago

    Thanks for letting us know about this. I’ve added an issue to our backlog.
    👍1
  • lfggjonesy-1444378055991627867

    Jonesy

    11 hours ago

    Thank you very much! The AI told me to do something like this but it was wrong! thank you