@David this fixed the font size but I don’t know why the heading couldn’t be formatted in such a way that it gets into the middle of the table of the content border. (similar to this)
Here is the CSS you provided last time for formatting that I am using on both site.
.widget .ez-toc-widget-container .widget-title {width: fit-content; padding: 0 20px; margin-left: auto; margin-right: auto; background-color: white; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 999999; white-space: nowrap; letter-spacing:1px;}
.widget .ez-toc-widget-container {overflow: visible !important;}