• Resolved wurstfinger

    (@wurstfinger)


    Hi Tobias,

    As said before, love your plugin and support! Donation was done immediately last time!
    I’ve got problems with the responsiveness using your responsive tables plugin. Sorry for asking such a general question, but do you have any suggestions how to get this table (for example) fit in screen?

    http://www.jakobantriebstechnik.de/wordpress/?page_id=70

    Is it even possible, because what I read here it seems like the font had to be reduced a lot to smaller cell sizes, right? Or is there maybe any other solution? It seems like the pictures also don’t resize..

    Thanks in advance!

    https://ww.wp.xz.cn/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem here basically comes from the very long words like “Motorspindelschutzsystem”. The browser can not add line breaks in those, so that they define the minimum width for the columns. You would indeed have to drastically reduce the font size for these long words to make the table fit, but then nobody could read anything.

    The best approach that I see for this table is the scroll mode that the TablePress Responsive Tables Extension offers.

    Regards,
    Tobias

    Thread Starter wurstfinger

    (@wurstfinger)

    Thanks for the advice.
    Unfortunately I can’t see any difference. I also tried it with different tables.

    To sum up, I just need the code in the css for setting the screen size `@media (max-width: 1080px) {

    .tablepress-responsive-desktop th,
    .tablepress-responsive-desktop td {
    width: auto !important;
    border: none !important;
    }`
    and the shortcode at the page or article to show it [table id=24 responsive=<scroll> /] and set the mode, right?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    please try again with the Shortcode

    [table id=24 responsive=scroll /]

    while using the “Text” editor instead of the “Visual” editor, as there are now some extra HTML tags like <code and <pre>, probably due to copy/paste.

    The CSS code that you pasted will not help, as the browser will not obey the width command, as the content simply needs more width.

    Regards,
    Tobias

    Thread Starter wurstfinger

    (@wurstfinger)

    I tried it in the text-editor, thanks for the hint. Okay, so I guess I’d have to change the table itself and list the videos from top to bottom to get it work.
    But thanks for your help, really great!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    from what I can see, there’s still a <pre> tag around the Shortcode…

    But yes, if you don’t want to use scrolling, you’ll have to change the table structure. This is simply a result of how tables work.

    Regards,
    Tobias

    Thread Starter wurstfinger

    (@wurstfinger)

    I can’t see this tag in the text editor.
    But no worrys, I’ll rearrange the site.
    Thanks a lot!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, now it seems to be gone again 🙂

    Best wishes,
    Tobias

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

The topic ‘Responsive trouble’ is closed to new replies.