bowman2001 / perplex

A Hugo theme to publish technical content (docs, news, blog, articles)
https://perplex.desider.at
Apache License 2.0
27 stars 11 forks source link

Make upper case for `h2` optional #162

Closed clsty closed 6 months ago

clsty commented 6 months ago

Hi, I've noticed that all h2 elements becomes all upper case, and I personally don't want that.

Could you please tell me how to disable this behavior? Thanks in advance.

clsty commented 6 months ago

I've solved this by customing CSS in assets/css/custom/custom.css:

.md--h-sans > h2 { text-transform: none; }
.section > h2 { text-transform: none; }
.md--footer > h2 { text-transform: none; }
.nav-main__link { text-transform: none; }