First time here? Check out the FAQ!

How do I go about editing the css?

  • retag add tags

I understand that AskBot utilizes lesscss to compile the css. However, I'm having a hard time wrapping my head around the process by which to edit the various css files. I have enabled/disabled the ASKBOT_CSS_DEVEL setting and changed my STATIC_URL to point to /static/ (just trying to give me anything to play with) but the site remains with the stock look.

I've never played around with lesscss and I'm just not "getting it" with what I'm finding on the web.

Any help from you folks would be appreciated!

dharrah's avatar
asked 2015-08-03 14:27:50 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


You can edit file /askbot/media/style/style.less then use lessc to compile it into /askbot/media/style/style.css.

Better would be to create a theme as described in the documentation.

Evgeny's avatar
answered 2015-08-07 11:26:49 -0500
edit flag offensive 0 remove flag delete link


Does that depend on the ASKBOT_CSS_DEVEL setting to be 'True' or 'False'?

dharrah's avatar dharrah (2015-08-07 11:28:37 -0500) edit

This setting is not used, just edit the .less file, recompile into .css and then run `collectstatic`. It might also be better to create `extra.css` in your theme as described in the documentation and place css overrides there.

Evgeny's avatar Evgeny (2015-08-07 11:34:36 -0500) edit
add a comment see more comments