• Resolved slimjim414

    (@slimjim414)


    Hello again… you’ve actually answered a very similar question of mine a few weeks back.

    I used the css code:

    .tablepress-id-1 img {
    max-width: 100%;
    }

    to fix a problem I was having in which the table needed to be shrunk down to fit mobile. I tried this same thing on a second table on a different page I was have, however that doesn’t work. Does it have something to do with the images I am using?

    https://www.norwaytonowhere.com/?page_id=33

    Thanks for your hard work in helping everybody with a free, awesome plugin!

    Jimmie

    https://www.ads-software.com/plugins/tablepress/

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

    (@tobiasbg)

    Hi Jimmie,

    thanks for your post, and sorry for the trouble.

    The issue here is that you are not using plain images, but the captions underneath them as well (via the caption Shortcode, I assume). Because of this, there’s a wrapper around the images that has a fixed width (in pixels), which basically forbids the images to shrink.

    Regards,
    Tobias

    Thread Starter slimjim414

    (@slimjim414)

    Thanks! I removed the captions and it seems to work now.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fitting table in mobile’ is closed to new replies.