move framework CSS above h5bp/roots CSS - fixes #253
This commit is contained in:
@@ -8,6 +8,17 @@ function roots_get_stylesheets() {
|
||||
|
||||
$styles = '';
|
||||
|
||||
if (class_exists('RGForms')) {
|
||||
$styles .= "\t<link rel=\"stylesheet\" href=\"" . plugins_url(). "/gravityforms/css/forms.css\">\n";
|
||||
}
|
||||
|
||||
if (is_child_theme()) {
|
||||
$styles .= stylesheet_link_tag('/style.css', 1);
|
||||
$styles .= "\t<link rel=\"stylesheet\" href=\"" . get_stylesheet_uri(). "\">\n";
|
||||
} else {
|
||||
$styles .= stylesheet_link_tag('/style.css', 1);
|
||||
}
|
||||
|
||||
switch ($roots_css_framework) {
|
||||
case 'blueprint' :
|
||||
$styles .= stylesheet_link_tag('/blueprint/screen.css');
|
||||
@@ -54,17 +65,6 @@ function roots_get_stylesheets() {
|
||||
break;
|
||||
}
|
||||
|
||||
if (class_exists('RGForms')) {
|
||||
$styles .= "\t<link rel=\"stylesheet\" href=\"" . plugins_url(). "/gravityforms/css/forms.css\">\n";
|
||||
}
|
||||
|
||||
if (is_child_theme()) {
|
||||
$styles .= stylesheet_link_tag('/style.css', 1);
|
||||
$styles .= "\t<link rel=\"stylesheet\" href=\"" . get_stylesheet_uri(). "\">\n";
|
||||
} else {
|
||||
$styles .= stylesheet_link_tag('/style.css', 1);
|
||||
}
|
||||
|
||||
switch ($roots_css_framework) {
|
||||
case 'blueprint' :
|
||||
$styles .= "\t<!--[if lt IE 8]>" . stylesheet_link_tag('/blueprint/ie.css', 0, false) . "<![endif]-->\n";
|
||||
|
||||
Reference in New Issue
Block a user