Skip to main content
1-Visitor
December 12, 2017
Question

preview doesn't apply css of root view

  • December 12, 2017
  • 1 reply
  • 2225 views

Hello,

I have created a 2D app assigned the class "main" to the root view "Home" and put

.main {

  background-color: #242730;

  text-align: center;

  color: white;

}

in my css. Now, the editor applies that correctly, but the preview ignores it. Is that a bug or am i doing something wrong?

I tried it both in firefox and chrome

1 reply

21-Topaz I
December 13, 2017

Hi Jovan, Are you able to see your class definition changes when viewing your project via ThingWorx View?

1-Visitor
December 14, 2017

Well, as you know from my other question(to which you replied) i didnt manage to test it on a device yet.

1-Visitor
December 18, 2017

But should it work this way?