[resolved] Table header row: text + image on one line (2 posts)

  1. tfmwa
    Posted 1 year ago #


    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 http://wordpress.org/plugins/responsive-mobile-friendly-tooltip/ 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;}


  2. TobiasBg
    Plugin Author

    Posted 1 year ago #


    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.