Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 3.1
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
Description
@import is not a recommended way to load CSS files since it blocks the browser from downloading other resources. The recommended method is:
<link type="text/css" rel="stylesheet" media="all" href="/foo/bar.css" />
Or even better, integrate with the host CMS so that it can aggregate CSS/JS files. Unfortunately it appears that Joomla doesn't have a facility in core to do this, only 2 separate contrib modules.