Closed (fixed)
Project:
Bamboo
Version:
7.x-1.0-alpha8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jan 2013 at 03:28 UTC
Updated:
2 Feb 2013 at 18:59 UTC
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
Comment #1
danny englanderHi, 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
Comment #2
danny englanderok, 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
Comment #3
bkmarsh commentedWorks great, thanks for the quick fix!
Comment #4
danny englander