hermit icon indicating copy to clipboard operation
hermit copied to clipboard

Custom CSS

Open therealpaperclip opened this issue 5 years ago • 1 comments

Sincere apologies for this annoying newbie question, but I'm really stuck. I created some custom CSS in order to style a form I've integrated.

I tried the following (without success).

  1. I placed a custom.css (containing only my code) in static/css/
  2. I placed a custom.css (containing my css AND your CSS) in static/css.

In both cases I referred in config.toml with customCSS = ["css/custom.css"]

What am I doing wrong?

The only thing that is working for me (of course) is when I revise your CSS file in the theme/assets folder directly. But I don't want to do that.

therealpaperclip avatar Oct 16 '19 18:10 therealpaperclip

  1. Add a file custom.css in static/css/
  2. Add the following lines in config.toml
[params]
  customCSS = ["css/custom.css"]

Note: if you already have a params-header, just add the customCSS line in that section

TheGroundZero avatar Jul 23 '20 22:07 TheGroundZero