Style changes won't take effect in 2.1 (Bitter Sweet theme)

I'm playing around with the custom.css file for the Bitter Sweet theme in Vanilla 2.1, but none of the changes seem to take effect once I upload it. What am I missing here? Are the styles controlled by something else?
Tagged:
0
Best Answer
-
Kasper Vanilla Staff
@whu606 @Zhaan This is the config definition you'll need to add (bypasses the AssetModel controller):
$Configuration['Garden']['DebugAssets'] = TRUE;
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
5
Answers
Hum.. it seems to be getting its styles from a location called "utility/css/style/", but that doesn't even exist as far as I can tell? o-o
go to /cache/css and delete the .css files then go to your site.
@Zhann
Add this line to your config.php file
See here for a basic guide to theming in 2.1
Done and done, but still no visible changes. Also, I'm reading the wiki page, but I can't see any mention of utility/css/style/ so far.. does it exist somewhere?
It is a virtual directory and exists only in memory.
@whu606 @Zhaan This is the config definition you'll need to add (bypasses the AssetModel controller):
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Actually, I only got 'permission denied' when I attempted to clear /cache/css.. Any tips there?
@kasperisager Will do!
@kasperisager
Oops!
Cheers for the heads up!
You need to logon as an account that has permission to delete those files.
Strange, I definitely should be able to do it on my main account. Will look into it.
Nevermind, I just renamed the CSS folder to 123abc and made a new one. Works like a charm now!
Thanks for all the help.
2.1 is a permissions minefield. Good thinking on renaming the CSS folder I wish I had thought of that when I was struggling with that stuff. However, if you are planning on doing a lot of edits you should implement @kasperisager suggestion as it's the only real solution to this issue atm.