Title: Need Help With Class
Last modified: November 21, 2022

---

# Need Help With Class

 *  Resolved [wpsoftcode](https://wordpress.org/support/users/wpsoftcode/)
 * (@wpsoftcode)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/)
 * Hey there,
 * **First Question:**
 * Could you please let me know what CSS class should be used to change the font-
   family and font-size of the content inside the tables?
 * I can do basic customization myself but having issues getting CSS class.
 * I can see you have mentioned `.ninja_footable` here on [Stack Overflow](https://stackoverflow.com/a/49426764)
   but that doesn’t work.
 * Here is the table: [https://memorizeincrease.s2-tastewp.com/2020/08/05/hello-world](https://memorizeincrease.s2-tastewp.com/2020/08/05/hello-world)
 * **Seconds Question:**
 * Apart from this, I also found that Font Family and Font Size Settings under **
   Tools » Global Appearance** never work. You can also test it on your side. That
   looks like a bug.

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

 *  Plugin Support [Syed Numan](https://wordpress.org/support/users/annuman/)
 * (@annuman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/#post-16218956)
 * Hello [@wpsoftcode](https://wordpress.org/support/users/wpsoftcode/),
 * I can see you are using the ninja tables Drag & Drop module, and Global Settings
   will not work for this module. You can choose the font family from the table 
   settings. [See Screenshot](https://prnt.sc/A98OIPN_sm2j)
 * Thank You
 *  Thread Starter [wpsoftcode](https://wordpress.org/support/users/wpsoftcode/)
 * (@wpsoftcode)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/#post-16219684)
 * Hi [@annuman](https://wordpress.org/support/users/annuman/)
 * That is helpful but I need to apply custom font via custom CSS to match my theme
   font-style.
 * Also I need to increase the line height for the content inside the table.
 * I can do CSS myself, could you please let me know which CSS class to target for
   Ninja Table?
 * I can see someone from your team maybe have mentioned `.ninja_footable` on Stack
   Overflow but that doesn’t work.
 * [https://stackoverflow.com/questions/48097523/wordpress-ninja-tables-css-styling/49426764#49426764](https://stackoverflow.com/questions/48097523/wordpress-ninja-tables-css-styling/49426764#49426764)
 *  Plugin Support [Syed Numan](https://wordpress.org/support/users/annuman/)
 * (@annuman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/#post-16233960)
 * Hello [@wpsoftcode](https://wordpress.org/support/users/wpsoftcode/),
 * Please find the CSS below for changing the font family and line height for a 
   specific table. You just need to change the table ID from 402.
 * Add the CSS to the WordPress Additional CSS section.
 *     ```
       .ninja_tables_builder_class_402 {
           font-family: monospace !important;
       }
       .ninja_tables_builder_class_402 .ntb-datas-wrapper span {
           line-height: 2 !important;
       }
       ```
   
 * Thank You
 *  Thread Starter [wpsoftcode](https://wordpress.org/support/users/wpsoftcode/)
 * (@wpsoftcode)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/#post-16237601)
 * > You just need to change the table ID from 402.
 * And what if I needed to apply it for all tables?
 *  Plugin Support [Syed Numan](https://wordpress.org/support/users/annuman/)
 * (@annuman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/#post-16254802)
 * Hello [@wpsoftcode](https://wordpress.org/support/users/wpsoftcode/),
 * To apply this CSS to all the tables, use the following one in WordPress Additional
   CSS.
 *     ```
       #ntb_table {
           font-family: monospace !important;
       }
       #ntb_table .ntb-datas-wrapper span {
           line-height: 2 !important;
       }
       ```
   
 * Thank You

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

The topic ‘Need Help With Class’ is closed to new replies.

 * ![](https://ps.w.org/ninja-tables/assets/icon-256x256.png?rev=3337819)
 * [Ninja Tables – Easy Data Table Builder](https://wordpress.org/plugins/ninja-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-tables/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Syed Numan](https://wordpress.org/support/users/annuman/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/need-help-with-class/#post-16254802)
 * Status: resolved