HUGO

Formatting Headings Inside a Hugo Theme

I would like to change the color of each of the headings h1h6 in the Minimal theme. I tried adding the following to the main.css file but nothing changed. I’m afraid to keep tinkering around and experimenting because I don’t want to break it.

This is what I tried:

h1, h2, h3, h4, h5, h6 {color: #3838ba !important}

I’ve tried reaching out to the site author but no response.

Thank you for your time and patience with me.

Why do I always do this? I ask a question and self-resolve. I added my CSS code to the partials/css.html file instead of the static/css/main.css file and it worked.

Sorry for the post.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.