I’m using Hugo Static Site Generator v0.74.3/extended linux/amd64 BuildDate: 2020-07-29T18:11:24Z
I have a site which includes custom.css (in static)
I am inspecting the site locally using
hugo server -D
When I save the custom.css file, hugo refreshes and the css is applied (.container width 1280px, in this case)
But when I then update any content or reload the page, hugo refreshes and the custom style is ignored and the default is applied.
The first screenshot shows the page and inspector after updating the custom css file
The second screenshot shows the page after refresh and shows that now only the default style.css is used
The third shows the loaded custom.css and its source to the right. I’ve made the selector unnecessarily specific and added !important to ensure it should supersede the default, but no luck.