Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
I'm trying to add a background image on 2D Project with Thingworx Studio.
With this code: (In the Home View in my case)
.Home{
background-image: url(#{$resources}/Uploaded/AutoSpire.jpg);
opacity: 0.2;
}
I can see the image on Thingworx Studio editor, but not on "PREVIEW" neither on mobile platform.
Any ideas?
Lionel
Solved! Go to Solution.
This is a bug. You can change your CSS to this and it should work:
[twx-view=Home]{
background-image: url(#{$resources}/Uploaded/AutoSpire.jpg);
opacity: 0.2;
}
This is a bug. You can change your CSS to this and it should work:
[twx-view=Home]{
background-image: url(#{$resources}/Uploaded/AutoSpire.jpg);
opacity: 0.2;
}
Hello,
thanks for your help. It's working.
Lionel
