• Resolved Joe Dunn

    (@joe-dunn)


    Hello,

    I am using Elementor Pro and NinjaTables Pro.

    I need to detect the user’s screen width and then display the table shortcode. For example:

    If the user’s screen width is less than X then use this shortcode:

    [ninja_tables id=”123″]

    If the user’s screen width is greater than X then display this shortcode:

    [ninja_tables id=”456″]

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Syed Numan

    (@annuman)

    Hello @joe-dunn,

    Our sincerest apology for being delayed to respond. We always recommend opening a support ticket to get a fast reply.

    Actually, Ninja Table is a shortcode based table plugin so by default, there is no possibility to display different tables in a certain container. But if you can conditionally detect the user’s screen width and embed the table shortcode within the condition then it will definitely work.

    You should open a support ticket with the admin credential of the site here. https://wpmanageninja.com/support-tickets/ Our support agents will assist you as soon as possible.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Display table based on screen width’ is closed to new replies.