T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. bertaud
  2. General Discussion
  3. Wednesday, 15 January 2014
  4.  Subscribe via email
Hello,

I know how include css file in the head.php, but i don't know how remove a call to a css file.

I see "$this->addHead()" in the head.php, this function call the css files but how modify that.
I want to ignore some files because I want to ignore all *-responsive.css when I use ie 8 or less

Sorry for my English and thank you for your answers
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Hi bertaud,

T3 does not have this feature by default and it does not able to detect IE8 also.

You need to customize it.

1. Detect IE8 browser via user agent or with the help of https://github.com/cbschuld/Browser.php
2. Hack to JDocument::_scripts to remove all *http://-responsive.css/less file

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

Thank You for this answer.
I work in this dierction since one week but i have some js errors when i tried to remove the css files.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.