WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Keeping Image and Text Border in individual cells

[Resolved] Keeping Image and Text Border in individual cells

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

    @tobiasbg

    Hi,

    thanks for your question, and sorry for the trouble.

    That border is around the attachment container <div> elements in the cells. Some CSS like this should help:

    .tablepress-id-16 .aligncenter {
      border: 1px solid #888888;
    }
    .tablepress-id-16 .aligncenter img {
        margin: 4px;
    }

    Regards,
    Tobias

    Shirley Muswema
    Member

    @shirley-muswema

    Thanks for that Tobias, it worked brilliantly.

    I tried taking the table that wasn’t displaying properly to the website with the correct tables and it displayed correctly. Could there be a reason it didn’t display properly originally? Maybe a setting of the site itself?

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    Hi,

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

    The reason why the borders didn’t show is simply that they are defined by the theme. They are part of the theme on the “old” site, but not part of the theme on the “new” site.

    Best wishes,
    Tobias

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

    Shirley Muswema
    Member

    @shirley-muswema

    hmm, that actually makes sense. Thank you so much for your help. Have a great day 🙂

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    Hi,

    always glad when I can help! 🙂

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Keeping Image and Text Border in individual cells’ is closed to new replies.