# Papermod Theme: How to add custom CSS?

**URL:** <https://discourse.gohugo.io/t/papermod-theme-how-to-add-custom-css/30165>\
**Category:** Using Themes\
**Created:** [December 23, 2020, 6:32am UTC](https://discourse.gohugo.io/t/papermod-theme-how-to-add-custom-css/30165 "2020-12-23T06:32:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![map](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@map](https://discourse.gohugo.io/u/map)\
**Post date:** [December 23, 2020, 7:51am UTC](https://discourse.gohugo.io/t/papermod-theme-how-to-add-custom-css/30165/5 "2020-12-23T07:51:09Z")

</div>

Thanks I see

> {{- $common := (resources.Match “css/_.css") | resources.Concat “assets/css/common.css” }}  
> {{- $extended := (resources.Match "css/extended/_.css”) | resources.Concat “assets/css/extended.css” }}  
> {{- /\* bundle all required css _/}}  
> {{- /_ Add extended css after theme style \*/ -}}  
> {{- $stylesheet := (slice $common $extended) | resources.Concat “assets/css/stylesheet.css” | minify }}

I guess the css bundling happens with theme css but not css added to the site?

The theme provides an extend\_head.html file that is blank except for comments so I guess I will copy this file to my site and then add the css file there.

---

_[View the full topic](https://discourse.gohugo.io/t/papermod-theme-how-to-add-custom-css/30165)._
