[Resolved] Table header row: text image on one line
PLEASE MARK AS RESOLVED – THANKS!
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.
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:
- The topic ‘[Resolved] Table header row: text image on one line’ is closed to new replies.