Hi,
thanks for your question, and sorry for the trouble.
Using the responsive_breakpoint here will not make any difference, as that parameter is only respected by the flip mode. Thus, you can remove that parameter.
Now, I’m not sure why the columns still overflow, but to fix that, please try adding this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress
.tablepress-id-3 {
width: 100% !important;
}
Regards,
Tobias
Thread Starter
0be1
(@obe1968)
Tobias;
Good morning!!! No worries, and thank you for the very quick reply!! 😉
I have tried the code you provided and the page is still too wide on mobile and I still have three columns showing. I would like to force the collapse down to x number at will. I want to see how it looks on mobile when there is only one column and click on the + to expand with the rest of the info, or maybe change it to two. Sorry if this is too confusing or if I am not explaining it properly.
Shawn
Hi Shawn,
hhm, strange. The JS code of the collapse JS add-on has problems calculating the column widths sometimes, but the CSS from above should work around that here.
It does when I test in the developer tools in the browser (essentially reducing the browser window size, so not really a mobile).
Regards,
Tobias
Thread Starter
0be1
(@obe1968)
I checked it using http://www.responsinator.com as well and it shows two columns instead of three like my phone does. Strange. I will keep trying (but I am not a very good coder… yet 😉 and see what I can come up with. Maybe it has something to do with the theme (Divi) I am using or something.
More to follow…
Shawn
Hi,
remember to refresh the page after reducing the browser window so that the calculations can be updated.
Does it work on your real phone?
Regards,
Tobias