Facing issue on posting custom CSS and JS for event capture print form

Hello,

I was trying to modify my local DHIS 2 using custom CSS using API call for print forms. But it is not reflecting on the Event Capture.

CSS code snippet:

Inline image 1

I have tried with different code on Data Entry, and it works. I have three questions regarding this problem,

  1. Have I done something wrong?

  2. The layout is designed with Angular JS. Is there any impact regarding the API call?

  3. Is there any different API call I have to make for Event Capture?

It would be very helpful if someone help me out.

I am using DHIS 2.21.

Thanks and Regards,

Kaustav Chakraborty