---
title: 'custom css ใน theme Mundana'
url: 'https://grav.123.in.th/blog-menu/custom-css-theme-mundana'
markdown: 'https://grav.123.in.th/blog-menu/custom-css-theme-mundana.md'
date: '2026-07-14'
description: 'หลังจากที่พยายามโหลด custom css ใน mundana แต่ทำอย่างไรก็ไม่สำเร็จ จึงต้องใช้วิธี hard code แทน ให้ไป'
taxonomy:
  tag:
    - mundana
    - theme
---

# custom css ใน theme Mundana

## [custom css ใน theme Mundana](https://grav.123.in.th/blog-menu/custom-css-theme-mundana)

    14th Jul 2026   [mundana](https://grav.123.in.th/tag:mundana#body-wrapper) [theme](https://grav.123.in.th/tag:theme#body-wrapper)  

หลังจากที่พยายามโหลด custom css ใน mundana แต่ทำอย่างไรก็ไม่สำเร็จ จึงต้องใช้วิธี hard code แทน

ให้ไป edit ไฟล์

```
/user/themes/mundana/templates/partials/head/tracking-header.html.twig
```

แล้วทำการเพิ่ม css ที่ต้องการเข้าไปโดยตรง เช่น

```
 <!-- This goes before </head> closing tag, Google Analytics can be placed here -->
<style>
        a.text-dark:hover {
            color: {{ hover_color_mapping[color_style] }} !important;
        }

        body {
             font-size: large;
             font-family: 'Noto Sans Thai Looped', sans-serif !important;
        }

        h1,h2,h3,h4,h5,h6 {
                          font-family: 'Prompt','Noto Sans Thai Looped', sans-serif !important;
        }
        p {
             font-family: 'Noto Sans Thai Looped', sans-serif !important;
        }

</style>
```

 [ Previous Post](https://grav.123.in.th/blog-menu/add-images-in-grav) [Next Post ](https://grav.123.in.th/blog-menu/css-markdown)

#### Popular Tags

---

## Navigation

- Parent: [Blog](https://grav.123.in.th/blog-menu.md)
- Previous: [การแทรก css ใน markdown](https://grav.123.in.th/blog-menu/css-markdown.md)
- Next: [การใส่รูปภาพในโพสต์](https://grav.123.in.th/blog-menu/add-images-in-grav.md)
