Title: Columns won&#8217;t hide
Last modified: September 21, 2016

---

# Columns won’t hide

 *  Resolved [eschoyen](https://wordpress.org/support/users/eschoyen/)
 * (@eschoyen)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/columns-wont-hide/)
 * Hey!
 * Great app!
 * Just have one problem, on only one table. And that’s the table on this site:
   
   [https://www.haugesund-teater.no/billetter/](https://www.haugesund-teater.no/billetter/)
 * It won’t hide columns at all. Now, I’ve selected that the columns should “kl.”
   and “status” should be hided at all table breakpoints.
 * This it not such big problem at a desktop, but on a mobile phone it’s quite disturbing.
 * What to do?

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

 *  Plugin Author [MyThirdEye](https://wordpress.org/support/users/mythirdeye/)
 * (@mythirdeye)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/columns-wont-hide/#post-8208548)
 * Hello eschoyen,
 * First of all thank you for using my plugin and providing feedback!
 * I did a little bit of digging around in the link you gave me and I’ve found the
   issue. The reason why your table isn’t hiding columns is because of my sloppy
   coding. Above the table there is an invisible element that has the values for
   custom breakpoints. I check this with the .prev() function which gets the previous
   element from the table. However, on your website, the invisible element is wrapped
   around <p> tags for some reason so it is messing everything up.
 * Are you using the [shortcode] method to insert your table or plain html? If you’re
   using the shortcode method, check to see if it is wrapped around a <p> element.
   If not you may have to edit the code to find the proper element instead of the.
   prev(). The way to do this is the following:
 * 1) edit the file /public/js/jtrt-responsive-tables-public.js
    2) change line 
   41 to look like this `var tableBPs = JSON.parse(jQuery(this).prev().val()) ||
   JSON.parse(jQuery(this).prev().children(input).val());`
 * If this does not work let me know and I will try to work a custom solution for
   you. I will also mark this down on my TO DO list so I can have this fixed for
   the next update. Oh my gosh so many fixes/bugs to tackle now 😀
 * Thanks again for bringing this up, it helps me learn and improve while ensuring
   everyone’s plugin works.
 * John
 *  Plugin Author [MyThirdEye](https://wordpress.org/support/users/mythirdeye/)
 * (@mythirdeye)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/columns-wont-hide/#post-8236335)
 * I have included a fix for this in the development branch. The update will be 
   released soon.

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

The topic ‘Columns won’t hide’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jtrt-responsive-tables_7fb7dc.svg)
 * [JTRT Responsive Tables](https://wordpress.org/plugins/jtrt-responsive-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jtrt-responsive-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jtrt-responsive-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/jtrt-responsive-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jtrt-responsive-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jtrt-responsive-tables/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MyThirdEye](https://wordpress.org/support/users/mythirdeye/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/columns-wont-hide/#post-8236335)
 * Status: resolved