I'm building Drupal 7 website. I have main stylesheet which is on the path: sites/all/themes/MYSITE/css/main.css.
I created a custom page on the way that I first created a custom content type and after that page--custom-page.tpl.php.
In the page--custom-page.tpl.php I inserted my html code and also corresponding css code.
Problem which I have is that main.css make a conflict in my custom page. I tried on a different ways to disable it but unfortunately without success.
I tried with this:
$arrCSS = drupal_add_css();
echo '<pre>';
print_r($arrCSS);
unset($arrCSS['all']['will']['sites/all/themes/will/css/main.css']);
Output which I got with print_r($arrCSS) is:
[sites/all/themes/will/css/main.css] => Array
(
[group] => 100
[every_page] => 1
[media] => all
[type] => file
[weight] => 0.003
[preprocess] => 1
[data] => sites/all/themes/MYSITE/css/main.css
[browsers] => Array
(
[IE] => 1
[!IE] => 1
)
)
Every kind of help is welcome. Thanks in advance.