Skip to content

How to create a different blog post css setting #140

Answered by jpanther
bgalvao asked this question in Q&A
Discussion options

You must be logged in to vote

Although some of these changes are not straightforward, you have the ability to provide your own custom CSS to override any of the theme behaviour. Refer to the overriding the stylesheet docs to learn more about this. This is the quickest way to do things like changing the font to use something custom.

You can also create your own templates for different types of content. The way to achieve this in Hugo is using "layouts". The docs also have a lot of detail on how to do this and I'd encourage you to read the content examples section to learn more about it.

Essentially you could create a custom layout for technical posts (by creating layouts/technical.html) and use the base theme template …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bgalvao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants