• Resolved turtledove100

    (@turtledove100)


    Hi Tobias,
    I’m trying to center some images within some cells and am unable to do so. The cells also has text in them and I’ve used the following code to successfully center the text:
    }

    .tablepress-id-8 .row-1 .column-1,
    .tablepress-id-8 .row-1 .column-2,
    .tablepress-id-8 .row-1 .column-3,
    .tablepress-id-8 .row-1 .column-4 {
    text-align: center;
    }

    So now the text is centered but the images aren’t.

    I’ve looked through the FAQ and other threads that seemed relevant to my question and have tried a few of the codes you suggested to others but I haven’t been able to find any that works.

    Can you suggest any coding that might work?

    Thanks so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Depending on the theme, images sometimes need extra treatment.
    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 turtledove100

    (@turtledove100)

    Hi Tobias,
    Thanks for your quick reply. Sorry — I forgot to include the link so here’s the page that has the table I’m referring to:

    https://www.digyourdog.com/84-2/

    Also — in case it helps — my theme is Flexibility 3.

    Please let me know if you need anything else. Thanks for your help.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the link! Please try adding this “Custom CSS” on the “Plugin Options” screen of TablePress:

    .tablepress .wp-caption {
      display: inline-block;
    }

    Regards,
    Tobias

    Thread Starter turtledove100

    (@turtledove100)

    Hey Tobias,
    That worked perfectly! Thanks so much for your help.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    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 here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Centering images within cells’ is closed to new replies.