Support » Plugin: TablePress » Table header row: text image on one line

  • Resolved tfmwa



    We were simply trying to cram too much into the available space for the table. Even when reducing all padding to 0, it wouldn’t fit on one line. Once we removed one or more columns, Tablepress would automatically display the text and image on one line.


    Thanks again for creating such an awesome plugin!

    I’m trying to add a small information icon with hover text to a table header row title.

    Example: *removed*

    We’re using a small *.png and to accomplish this. I can’t get the text and image to display on one line.

    So the code in the WYSIWYG HTML tab looks like this:

    Prijs [tooltip tip="TOOLTIP TEXT"]<img alt="" src="IMAGENAME.png" />[/tooltip]

    I’ve been messing with the CSS on several elements for a good while, checked the FAQ and Google. I suspect this can be done by manually setting the column width for this specific column and table.

    However, I’d like to know if it’s possible to get the title text and image to display on one line using ‘general’ css that applies to all tables and especially columns, without having to specify them for every table individually. I’ve been dabbling with some display:inline-block but that seems to break the table header to an extent.

    Any help or advice that you can give is greatly appreciated!

    (for anyone looking to do the same and finding that the hover text displays behind the Tablepress header, you need to add the following custom CSS in the Responsive Mobile Friendly Tooltip options:

    #tooltip {z-index:1000;}

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg



    thanks for your post, and sorry for the trouble.

    Yes, looks like this was an issue with too much content in the cell. Good to hear that you were already able to find a workaround!

    Best wishes,

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Table header row: text image on one line’ is closed to new replies.