I have some forms in webpage. The forms are generated by a CMS component. The styling of the forms is set through a template_css.php file, which facilitates the dynamic styling given a form's variables.
In my local environment, the file is loaded fine, and the css renders as expected. But in public server, the css is not rendered and I get the following warning from Chrome debugger:
Resource interpreted as Stylesheet but transferred with MIME type text/html: ...filepath
What can I do to force this file to be read as CSS even though is a PHP file?
Thank you