Viewing 12 replies - 1 through 12 (of 12 total)
  • Hey Schello805,

    Put this in your custom css and see if it works for you.

    .tablepress img {
        max-width: 100%;
        display: block;
        margin: auto;
    }
    Thread Starter Schello805

    (@schello805)

    Wow it works fine. Thanks a lot 🙂

    No problem, glad I could help!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble as well as for the late reply. I’ve been on holidays and therefore couldn’t reply earlier.

    Yes, that looks like a good solution. Thanks, zdavis!

    Best wishes,
    Tobias

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

    Hi

    I was looking for this too, it works fine !!!
    Wordpress version 4.5

    Thanks guys

    Many thanks Tobias for your good job

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    great! Good to hear that this was helpful for you as well!

    Best wishes,
    Tobias

    Klaus Schäfer

    (@klaushschaefer)

    Sorry, does not work for me. My pictures become VERY small and still reside on top of a cell, not in the center…

    Any other solution?

    Best regards
    Klaus

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Klaus,

    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

    Klaus Schäfer

    (@klaushschaefer)

    Hi Tobias,

    this is the link to the page.

    http://www.tolohapartnership.de/unterstuetzer-und-foerderer/

    However, I might want to have the “center” behaviour restricted to a specific table and column only. The table as it shows up now is pretty much ok. I was just trying to center the logos in their cell.

    Best regards
    Klaus

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Klaus,

    thanks for the link! In your case, this “Custom CSS” should be sufficient:

    .tablepress-id-12 .column-1 {
    	vertical-align: middle;
    }

    Regards,
    Tobias

    Klaus Schäfer

    (@klaushschaefer)

    This is great! Thanks…!!!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Center Image’ is closed to new replies.