I have found out an easiest way to add CSS in our custom or OOTB forms, though it might be aware for many people I thought of sharing which I figured through this blog.
The below steps will show case the simplest way to add custom CSS code in your Remedy forms.
Open or create a regular or any type of forms in Developer studio.
Add the necessary fields and save the form.
Now flush your midtier cache and open the new form through any browser.
Right on the form and select “Inspect element” as mentioned below;
Using the pointer select the field which we want to modify (In my case I have chosen table field and the header color to be changed)
Now we have to write the content in to a new text file which I marked as no# 1 in the above screenshot.
Once we copied the above content we have to open the form and select Form view properties as mentioned below and in that we have to expand the web header properties
Under the web header we have to insert the as mentioned below
<link href="../../../../sharedresources/Custom/NGC_CalendarMainPageCSS?server=@" rel="stylesheet">
Note: the below mentioned href attributes is only to initiate the CSS file.
Once the above mentioned activities are done, save the form and flush bother midtier and browser cache.
Thanks & Regards,