Elmer Buckley
Elmer Buckley

Reputation: 57

I did some changes on css file, bu that does not reflects in yii application view

I did some changes on form.css file (Which is used for form view) but that doesn't reflect on the form view. Whenever i look through inspect element on browser it shows the old css class files. I also tried to delete the caches via cloudflare and i also try enabled the debug mode

defined('YII_DEBUG') or define('YII_DEBUG', True); defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);

but no use

Upvotes: 0

Views: 872

Answers (2)

Elmer Buckley
Elmer Buckley

Reputation: 57

After deleting the all files inside the runtime folder. I once again edited the css file to change the value. It worked.

Upvotes: 1

Harish Ambady
Harish Ambady

Reputation: 13121

YII exports files to assets folder when it accessed for the first time. So search for your css file in projectRoot/assets folder and delete the folder containing your file. Hope this helps.

Upvotes: 1

Related Questions