# How to Theme Gitea

**URL:** <https://forum.gitea.com/t/how-to-theme-gitea/1906>\
**Category:** Themes\
**Created:** [February 8, 2020, 7:54pm UTC](https://forum.gitea.com/t/how-to-theme-gitea/1906 "2020-02-08T19:54:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adeel](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@adeel](https://forum.gitea.com/u/adeel)\
**Post date:** [February 8, 2020, 7:54pm UTC](https://forum.gitea.com/t/how-to-theme-gitea/1906/1 "2020-02-08T19:54:42Z")

</div>

1. First check your gitea version

2. Open up Github

> **[GitHub - go-gitea/gitea: Git with a cup of tea! Painless self-hosted...](https://github.com/go-gitea/gitea)**
>
> Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD - GitHub - go-gitea/gitea: Gi...

Go to the branch related to your installed version.

1. Startup Gitea and you will discover.  
Custom path: **/path-to-customization/gitea/custom**

2. This path **/path-to-customization/gitea/custom** is where you will make all the changes.

Create **templates/base** directory inside the custom path.

Go to the same directory inside gitea’s github page e.g. [https://github.com/go-gitea/gitea/tree/release/v1.9/templates/base](https://github.com/go-gitea/gitea/tree/release/v1.9/templates/base)

1. Customizing the header navigation.

Copy from github repo → release/v1.9/templates/base/head\_navbar.tmpl

Put it into **gitea-custom-path/templates/base/head\_navbar.tmpl**

Customize as necessary and then just restart you gitea app.

1. Serving Custom Assets

Create **public** directory inside **gitea-custom-path**

If you want to access for example an image inside gitea template. You can create **public/img/logo.jpg**  
Then just refer to the logo inside the template (.tmpl) file with path: /img/logo.jpg.

I hope people find this helpful as I have kept it concise enough.
