Custom CSS
Opened this issue · 1 comments
therealpaperclip commented
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).
- I placed a custom.css (containing only my code) in static/css/
- 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.
TheGroundZero commented
- Add a file
custom.css
instatic/css/
- 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