I'm trying to override some colors using the local.css file. It appears the local.css is loaded before the design.css so my changes don't appear. If I use the Chrome developer tool I can uncheck the design.css entry and the page renders as I expect it to. Not sure what I'm doing wrong at this point.

<style type="text/css" media="all">@import url("http://cvan.marsheart.com/sites/all/themes/bamboo/css/local.css?mhf4f7");
@import url("http://cvan.marsheart.com/modules/shortcut/shortcut.css?mhf4f7");
@import url("http://cvan.marsheart.com/modules/toolbar/toolbar.css?mhf4f7");</style>

<style type="text/css" media="all">@import url("http://cvan.marsheart.com/sites/all/themes/bamboo/css/menu.css?mhf4f7");
@import url("http://cvan.marsheart.com/sites/all/themes/bamboo/css/normalize.css?mhf4f7");
@import url("http://cvan.marsheart.com/sites/all/themes/bamboo/css/style.css?mhf4f7");
@import url("http://cvan.marsheart.com/sites/all/themes/bamboo/css/design.css?mhf4f7");
@import url("http://cvan.marsheart.com/sites/all/themes/bamboo/css/responsive.css?mhf4f7");</style>

Comments

danny englander’s picture

Assigned: Unassigned » danny englander
Category: support » bug
Status: Active » Needs work

Hi, thanks for reporting this. Yes it would seem that local.css needs to load last. I think I should be able to fix this. Give me some time and I'll post a fix. -- Danny

danny englander’s picture

Title: Local.css loads before design.css » Force local.css to load last so that overrides take effect
Status: Needs work » Fixed

ok, this is now fixed with 7.x-1.0-alpha9. The only file that's changed is template.php so you can simply download the theme and replace that file. Here's a direct link to the file only:

http://drupalcode.org/project/bamboo.git/blob_plain/HEAD:/template.php

Be sure to clear your cache. I tested the new code with a simple override in my local.css before and after. Before the override did not work but after it did.

Thanks for reporting this!

--- Danny

bkmarsh’s picture

Works great, thanks for the quick fix!

danny englander’s picture

Status: Fixed » Closed (fixed)