# To change Hover Text properties

**URL:** <https://community.plotly.com/t/to-change-hover-text-properties/1170>\
**Category:** plotly.js\
**Created:** [May 31, 2016, 5:08am UTC](https://community.plotly.com/t/to-change-hover-text-properties/1170 "2016-05-31T05:08:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dineshu07](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dineshu07](https://community.plotly.com/u/dineshu07)\
**Post date:** [May 31, 2016, 5:08am UTC](https://community.plotly.com/t/to-change-hover-text-properties/1170/1 "2016-05-31T05:08:19Z")

</div>

using css we can change font, size… etc .

.hovertext text{

```
        font-family: Helvetica !important;

        font-size:13px !important;

```

}

Thanks

Dinesh

---

<div class="post-metadata">

**Author:** ![schivlg](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@schivlg](https://community.plotly.com/u/schivlg)\
**Post date:** [March 17, 2017, 2:26pm UTC](https://community.plotly.com/t/to-change-hover-text-properties/1170/2 "2017-03-17T14:26:30Z")

</div>

@etienne This works for the main hovertext, but not for the x-axis. How can I implement it there? Sample [code pen](https://codepen.io/gschivley/pen/aJyaqE).
