How do I use Tablepress with Hustle Pro

I have a table defined in tablepress. I want it to popup when a link is clicked. So I created a new popup in Hustlepro with the following in the main content:

[table id=1 responsive=collapse responsive_breakpoint=”tablet”/]

this doesn’t work.

  • Nithin Ramdas
    • Support Wizard

    Hi Asit ,

    Could you please point out where exatly you got the mentioned attributes in the shortcode? I’m not able to find in their plugin documentation regarding this part:
    responsive=collapse responsive_breakpoint=”tablet”/

    However, I gave a quick test and could notice the Shortcode does display the table inside the Hustle popup when tested. Could we know what exact issue are you noticing when you state that it isn’t working?

    If you are looking for more support regarding this, please do share a page link where you have configured it, and enable support access so that we could move this ticket to support forum if needed for further assistance, please do let us know. Have a nice day ahead.

    Regards,
    Nithin

  • Nithin Ramdas
    • Support Wizard

    Hi Asit ,

    I checked the mentioned extensions. Could notice the style is breaking the table when the mentioned shortcode is used. It seems to be an issue only specific when using responsive=collapse, it does seem to work fine with other responsive modes like stack, flip etc.

    The TablePress extension doesn’t seem to pick a width when used in the Popup and hence causing it. Maybe you could check and see whether adding the following CSS helps inside the Custom CSS section of Hustle Popup?
    .hustle-layout .hustle-layout-content .hustle-group-content table { width: 95% !important; }

    The value of the width can be configured according to your requirement. However, even after the CSS, I could notice the stylesheet is not getting listed as Collapse mode.

    This looks more like an issue within TablePress, however, I’m bringing this compatibly issue with our developers to see whether there is anything further that could be implemented in the plugin side to fix such anomalies down the road.

    Will keep you posted once I get further feedback asap. Have a nice day ahead.

    Regards,
    Nithin