What is it?
CSS styles can be amended to the style sheet instead of replacing the whole styleset with a new css stylesheet. This allows you to make incremental changes, but still take advantage of the base styling.
How to use it?
- Upload a CSS file to your Salesforce.com Static Resources area
- Go to TYSO Setup -> Order Schedule -> Manage Order Schedule Templates. Find the template to edit and then go to the “Style & Formatting” sub tab. Under “Additional Styles”, select the static resource you uploaded.
How to find elements?
The best way is to render your document in HTML and inspect it in the console of your browser:
- Add the "render=html" attribute to the end of your url to view it as HTML:
- Inspect the element and find the class name. In this case we are looking at the Bill To Header:
- We find the class is "billtoname" This could be modified in our css by adding a line like this:
.smallheaders.billtoname { color: #FF0000 !important; }
- And it would now show up as red text: