calintat / minimal

Personal blog theme powered by Hugo
https://themes.gohugo.io/minimal/
MIT License
404 stars 222 forks source link

Help trying to change CSS for this theme #41

Open nikitavoloboev opened 6 years ago

nikitavoloboev commented 6 years ago

I can't figure out why when I change main.css file and use my own custom css, the things don't actually go in effect after I restart the web page. It seems Hugo doesn't care about the values I put in main.css.

Also I am trying to change the colour of the text. This one:

2017-12-02 at 22 10

But I cannot find anywhere where it is defined in the theme. I can only change the colour in the browser.

Thank you for any help.

nikitavoloboev commented 6 years ago

For reference, I was trying to change these two values in main.css

discentem commented 6 years ago

It took me a while to figure this out, but:

Put your custom css files in static/css/:

$ ls
archetypes  content     layouts     themes
config.toml data        static
$ ls static/css
intro_customization.css

And refer to them in your config.toml:

[params]
    css = ["css/intro_customization.css"]
discentem commented 6 years ago

Does this help @nikitavoloboev?

discentem commented 6 years ago

I can't for the life of me figure out how to customize the css of the posts though :(

polzak commented 5 years ago

@discentem This really helped me, thanks a lot!