Skip to main content
1-Visitor
August 31, 2018
Question

Cannot apply any CSS

  • August 31, 2018
  • 1 reply
  • 1044 views

Hi all,

I would like to add some Custom CSS to my mashup. 

First of all I've tried independently adding a simple css script in custom css tab and adding customClass but it  doesn't work.

 

Than I tried to follow this tutorial:

https://developer.thingworx.com/resources/guides/css-quickstart/custom-class-mashup-css-quickstart

At step 4 (adding shadow) I noticed that shadow doesn't appear. 

I've also tried to clean my cache, change browser (Chrome and firefox) but nothing changes.

 

My thingworx version is: ThingWorx 8.2.5-b260

 

Can someone help me?

1 reply

Support
December 3, 2018

Hi @lguagneli84.

 

Are you testing with the examples supplied in the tutorial or are you trying to apply these instructions to something you built?  We've tested it here and validated the instructions.

 

Here is a code snippet that you can test for applying the shadow to every button on the page:

 

.myOtherMashupClass .widget-button {
    box-shadow: 5px 5px 5px #888888;
}

 

Regards.

 

--Sharon