XF 1.5 adding thread preview tooltip to sidebar "new posts" widget


Active member
I really love XenForo post preview tooltip when browsing a forum and hovering over a topic title. I'm trying to add the same feature to the sidebar widget. I managed to do this adding the tooltip code to the sidebar's links:

class="{xen:if $thread.hasPreview, PreviewTooltip}"
                    data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}"

However, the tooltip is too big when the browsers's width is shrunk:

Any idea how to fix this ?


  • upload_2016-2-21_17-21-39.png
    385 KB · Views: 3
Fixed !
Style proprety > Preview Tooltip
Set max-width: 400px instead of width:400px

But it would be better if there was a way to change the direction of the tooltip instead
Top Bottom