• Resolved Blogger

    (@rui-oliveira)


    Hi,

    I made some changes in one of my sites that is using tablepress.

    For some reason now, the width of the table is not the same as the body of the post.

    I tried to add some code as you explained in plugin options, but it does not work.

    Is there a way to make the table to be responsive but at the same time to have the sale width ad the body of the page?

    Example: [ redundant link removed ]

    • This topic was modified 6 years, 7 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I’m not sure that the current HTML/CSS structure of your theme is really that good…
    But to make the table fit again, you can add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress {
      max-width: 800px;
      margin: 0 auto 1em;
    }

    Regards,
    Tobias

    Thread Starter Blogger

    (@rui-oliveira)

    I fixed this with a stupid solution.

    That is so stupid that I don’t even understand how it works, and why.

    I saw by chance that another post on the same site was OK.

    /iq-option/

    I tried all until I see, by chance, that in this post I have placed the code: table id not as a paragraph but as an H5, I don’t even know why.

    So, I tried this solution and it seems to work.

    Very strange I would say!

    Anyway, I will see if it works in the future, thanks for your help.

    • This reply was modified 6 years, 7 months ago by Jan Dembowski.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    to be honest, I would recommend against this. This is not a semantically correct solution.

    Regards,
    Tobias

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

The topic ‘Table width in a responsive wide website’ is closed to new replies.