MyBB Community Forums

Full Version: Changeing CSS directly?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way I can deal with CSS directly?
ACP -> Board Settings -> Server and optimization options -> CSS Medium -> Stored in the file system (In the 'css' folder)

Then you can edit the css files there with a text editor.
It says "DO NOT EDIT THIS FILE"....
Crystatic Wrote:It says "DO NOT EDIT THIS FILE"....

Indeed. You should never edit the cached CSS file directly as it will be overridden the next time you edit a theme.

At the moment there is no way to edit the CSS directly without using the theme system (because it is a complex system in regards to inheritance and such).

You can use the "Additional CSS" box at the bottom of the theme editor to specify custom CSS rules if that is what you're after, but most of what you want to do should be possible using the standard theme boxes and "Extra CSS" textareas.
If you however, change to cached CSS file and you _don't_ edit it in your theme system you'll be fine. But you'll loose everything you've edited if you by mistake edit it.
CHMOD the CSS file back to 644 or something so that the web server cannot write to it Wink