• Resolved Larry

    (@tippy)


    In the first column how can I center an image using css? I tried using this that I found in another post but doesn’t seem to work.

    I already had this in there:
    #content .tablepress img {
    max-width: none;
    }

    and added this seen in another post that’s not helping.
    .tablepress img {
    margin: 0 auto !important;
    }

    Thanks, Larry

    https://wordpress.org/plugins/tablepress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author TobiasBg

    (@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 Larry

    (@tippy)

    Can I send you an email?

    Thread Starter Larry

    (@tippy)

    I sent you an email.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the email! To center those images, please replace

    #content .tablepress img {
      max-width: none;
    }
    .tablepress img {
      margin: 0 auto !important;
    }

    with

    #content .tablepress img {
      max-width: none;
      margin: 0 auto;
      display: block;
    }

    Regards,
    Tobias

    Thread Starter Larry

    (@tippy)

    Oh Yeah! That worked just fine.

    Thank You, Larry

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘center image’ is closed to new replies.