Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    this is possible with some CSS code, but to be specific I would need to take a look at the page with your table, as your theme can already influence this. Can you please post a link?

    Regards,
    Tobias

    Thread Starter igoriq

    (@igoriq)

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you seem to have centered the images horizontally already, great 🙂

    To also center them vertically, please try adding this “Custom CSS”:

    .wp-table-reloaded-id-1 td {
      vertical-align: middle !important;
    }

    Regards,
    Tobias

    Thread Starter igoriq

    (@igoriq)

    Thanks, but now it’s centered only vertically and not horizontally. Could you please provide with css for both? 🙂

    Thread Starter igoriq

    (@igoriq)

    I don’t know if that’s correct, but it sure does work:

    .wp-table-reloaded-id-1 img {
    display: block;
    margin-left: auto;
    margin-right: auto
    }
    
    .wp-table-reloaded-id-1 td {
    vertical-align: middle !important;
    }
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, that’s the correct and complete solution. When I posted my CSS code, I did assume that you keep the existing code (as you now did) 🙂

    Regards,
    Tobias

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

The topic ‘[Plugin: WP-Table Reloaded] Image vertical and horizontal alignment’ is closed to new replies.