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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to re-use corporate.css in experiences

100% helpful (1/1)

Your company might have a css that represents the corporate identity - or you may have other sources of reusable css styles that you want to include with minimal effort. Here is what you have to do to use corporate css files to drive the look and feel of your experiences:

  1. Add the corporate css file (e.g. company.css) to your resources
  2. In Application styles add the following at the beginning (before any other css style entry:

@import url(#{$resources}/Uploaded/company.css);

 

 

With the following content in company.css:

And this label definition:

 

Produces this outcome (you see it in the editor as well as in the preview):

 

Gotcha!

 

 

Version history
Last update:
‎Jun 05, 2019 09:09 AM
Updated by:
Labels (2)
Contributors