# How to style table headers

**URL:** <https://discourse.joplinapp.org/t/how-to-style-table-headers/28687>\
**Category:** Support\
**Created:** [18 December 2022 00:19 UTC](https://discourse.joplinapp.org/t/how-to-style-table-headers/28687 "2022-12-18T00:19:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saarantras](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/saarantras/32/4673_2.png) [@saarantras](https://discourse.joplinapp.org/u/saarantras)\
**Post date:** [18 December 2022 00:19 UTC](https://discourse.joplinapp.org/t/how-to-style-table-headers/28687/1 "2022-12-18T00:19:28Z")

</div>

No matter what I do, I can't seem to manipulate my userstyle.css to change the font of the text within headers of rendered markdown tables.

I've tried

```auto
* {
    font-family: "Adobe Caslon Pro";
    font-size: 14px;
    line-height: 1.3;
}

.jop-tinymce table td, table td {
	font-family: "Adobe Caslon Pro" !important;	
}

a * {
	font-family: "Adobe Caslon Pro" !important;
}

```

And I still end up with:

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/4/4fe98cd80e8448693adf5ef302816a8c2e4a2492.png)

Note how the table header is the default font.

---

<div class="post-metadata">

**Author:** ![personalizedrefriger](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/personalizedrefriger/32/13210_2.png) [@personalizedrefriger](https://discourse.joplinapp.org/u/personalizedrefriger)\
**Post date:** [18 December 2022 01:41 UTC](https://discourse.joplinapp.org/t/how-to-style-table-headers/28687/2 "2022-12-18T01:41:25Z")

</div>

Try

```css
table th, table td {
    font-family: "Font Family Here" !important;
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [17 January 2023 01:41 UTC](https://discourse.joplinapp.org/t/how-to-style-table-headers/28687/3 "2023-01-17T01:41:49Z")

</div>

Closed on 17 January 2023 01:41 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
