# Styling hover tooltip

**URL:** <https://community.plotly.com/t/styling-hover-tooltip/91281>\
**Category:** 📊 Plotly Python\
**Tags:** tips-and-tricks, question\
**Created:** [March 17, 2025, 2:19pm UTC](https://community.plotly.com/t/styling-hover-tooltip/91281 "2025-03-17T14:19:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan294](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@nathan294](https://community.plotly.com/u/nathan294)\
**Post date:** [March 17, 2025, 2:19pm UTC](https://community.plotly.com/t/styling-hover-tooltip/91281/1 "2025-03-17T14:19:08Z")

</div>

Hi everyone,

Do you know if it’s possible to extensively customize the hover tooltip for Plotly charts? I’d like to be able to style them to add padding, shadows, change the border, etc… But mainly to add padding.

For comparison, I’d like a tooltip that looks like that of a Highcharts chart :

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/5/7/571d0b24b89eaa59c4063b6d2f9d53ba6ca2541a.png)

The only trick I found is using the “x unified” hover and to then modify the border. Here is the output :

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/9/0/90da1e7535b1541880bdf31542a456b9e3805a56.png)  
I can’t apply this to all my charts (e.g. pie charts) and this is a not a “native” solution.

Thanks in advance!
