Remove unnecessary css from drupal website

13 years ago, October 19, 2011
Reading time: 1 mins

To remove unwanted-style.css from current website do the following in your template.php

function MYTHEME_css_alter(&$css){


Where MYTHEME will be your theme name.

Alter the JS paths included in through template.php
Detect an iPad or an iPhone in PHP – HTTP_USER_AGENT
© 2024 Anil Maharjan