cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Cannot apply any CSS

lguagneli84
7-Bedrock

Cannot apply any CSS

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 1
slangley
23-Emerald II
(To:lguagneli84)

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

Top Tags