หลังจากที่พยายามโหลด 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 Next Post