Trouble with Customizing the Hugo Theme – Help Needed

Hello guys… :wave:

I am fairly new to Hugo and I have been trying to customize one of the built-in themes for a personal project. I am specifically trying to modify the header and footer sections to better match my brand’s style. Although, I am running into some challenges when it comes to modifying the HTML and CSS.

I have been following the documentation and have made some changes, but the layout doesn’t seem to update as expected. I’m not sure if it’s an issue with how I’m overriding the theme files or if I’m missing something in the configuration.

I also check this: https://discourse.gohugo.io/t/how-to-set-module-version-number-for-a-custom-hugo-theawscertification-online But I have not found any solution. Could anyone guide me about this? Has anyone else had success with customizing a Hugo theme, particularly with things like changing the header layout or adding custom elements to the footer? Any advice or steps on how to approach this would be really helpful.

Thanks in advance for your time and help!

Respected community member! :blush:

yes, many in here have experience in customize themes. This highly depends on all the stuff in siteand theme source and config – and the part you want to customize.

There’s no way to assist you without knowing details about the problem. please have a look at:

https://discourse.gohugo.io/t/requesting-help/9132/2

Show us

  • what you want
  • where the problem is:
  • what you have done so far
  • output of hugo version will be helpful

Best usually is share to share code and config (link to your repo)

Hugo doesn’t have a built-in theme.
In general, you should copy the partials (*.html) you want to modify in the corresponding location in layouts and change them there. For CSS, everything depends on the theme.

In addition, @irkode is of course right: No details, no useful answers.

1 Like