WordPress.org

Forums

TablePress
[resolved] Centered image horizontally (2 posts)

  1. du.michal
    Member
    Posted 2 years ago #

    Hi,
    I have an image in first column ( <img src="..." width="70" height="100" /> ). Please, How I can center image horizontally? I need centering only pictures, not text.

    I tried to use .tablepress .column-1 img {text-align: center;} , but doesn´t work...

    Thank a lot for your help!
    M.

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    thanks for the question, and sorry for the trouble.

    Centering images is a little bit tricky, as they are influenced by many things in the theme, like margins and paddings.
    To find a working solution, I therefore need to take a direct look at the table. Can you therefore please post a link?

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic