Title: Vertically Aligning Image
Last modified: August 30, 2016

---

# Vertically Aligning Image

 *  Resolved [tiger2deuce](https://wordpress.org/support/users/tiger2deuce/)
 * (@tiger2deuce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/vertically-aligning-image/)
 * Hi Tobias,
 * I am having an issue aligning images vertically in my tables. I have tried using
   the css:
 * .tablepress .column-2 {
    width: 30px; vertical-align: middle; }
 * However, the image does not move in the cell. Here is the page:
 * [http://www.d2softball.com/bloomfield-test/](http://www.d2softball.com/bloomfield-test/)
 * If you could help me out, I would greatly appreciate it!
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/vertically-aligning-image/#post-6608277)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * The reason for this is that the image has a border (given to it by the theme).
   To remove that, please add this to the “Custom CSS” textarea on the “Plugin Options”
   screen of TablePress:
 *     ```
       #content .tablepress img {
       	margin: 0;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [tiger2deuce](https://wordpress.org/support/users/tiger2deuce/)
 * (@tiger2deuce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/vertically-aligning-image/#post-6608459)
 * That did the trick! Thanks again for all your help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/vertically-aligning-image/#post-6608469)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Vertically Aligning Image’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [vertical](https://wordpress.org/support/topic-tag/vertical/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/vertically-aligning-image/#post-6608469)
 * Status: resolved