• Resolved echod

    (@echod)


    Hi Tobias!
    one of columns in the table has the image. And in row where there is an image 20х20 height becomes more at the expense of empty space after the image. As a result I receive the table with the different height of rows, but to bigger I dont want to equate. It is possible to reduce forcibly height of a line or it is css so does (after the image inserts an empty line)?
    Thanks!

    https://www.ads-software.com/plugins/tablepress/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter echod

    (@echod)

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks! It looks like you have inserted the images with the [gallery] Shortcode somehow. This is not recommended, because it adds a lot of extra CSS and HTML code that interferes here.
    You should only insert the image directly, so that the cell content looks like

    <img src="..." />

    Regards,
    Tobias

    Thread Starter echod

    (@echod)

    so if i want to use wp gallery or same plugin i need to use direct link to image? and it isnt tablepress do it?
    it will be hard because i do import from xlsm 2013… all data in excel document with automatic rules.
    necessary to stop on the first option.
    ok, thanks for ask of my trouble

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, ok. I see.

    Well, this is possible, but it’s a lot of overhead, especially for a small image like this — which is then even repeated several times in the table.

    You can try this “Custom CSS”:

    .tablepress .gallery-item {
        margin: 0 !important;
    }

    Regards,
    Tobias

    Thread Starter echod

    (@echod)

    Great, works! A lot of thanks!
    You mean this additional css makes site slower if table have many image?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Yes, all the extra CSS and HTML for the galleries that have just one images increases the size of the page, so that it takes longer to send it from the server to the browser. That’s why single images should be better here.

    Best wishes,
    Tobias

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Height of rows tablepress’ is closed to new replies.