Title: no-js class
Last modified: June 20, 2018

---

# no-js class

 *  Resolved [alsterb](https://wordpress.org/support/users/alsterb/)
 * (@alsterb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/no-js-class/)
 * Hi!
 * First of all, just want to say great theme – I’ve used it on a few projects now
   and definitely my favourite starter theme using Bootstrap 4!
 * One thing I noticed recently is the “no-js” class that is on the HTML tag in 
   header.php:
 * `<html class="no-js" <?php language_attributes(); ?>>`
 * On the previous Bootstrap Basic (using 3) I notice this switches between “js”
   and “no-js” depending if javascript is disabled in the browser, but on this theme,
   Bootstrap Basic4, I just noticed it always shows the “no-js” class, even when
   javascript is enabled.
 * I just noticed it because it caused an issue with a carousel I’m using that uses
   a “no-js” class in its styles so messed with my layout.
 * Is this a bug?
 * Thanks, Alex

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

 *  Theme Author [vee](https://wordpress.org/support/users/okvee/)
 * (@okvee)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/no-js-class/#post-10419376)
 * Yes, it really is my fault. I’ll fix this as soon as possible and will notice
   you again here.
 *  Theme Author [vee](https://wordpress.org/support/users/okvee/)
 * (@okvee)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/no-js-class/#post-10419433)
 * I’m already commit, upload to WordPress.
 * [https://github.com/Rundiz/bootstrap-basic4/commits/master](https://github.com/Rundiz/bootstrap-basic4/commits/master)
   
   [https://themes.trac.wordpress.org/ticket/56294](https://themes.trac.wordpress.org/ticket/56294)
 * I hope they will be auto approve and go live soon.
 * I use main.js to fix this instead of modernizr like in Bootstrap Basic previous
   version.
 *  Thread Starter [alsterb](https://wordpress.org/support/users/alsterb/)
 * (@alsterb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/no-js-class/#post-10419950)
 * That’s great – thanks for being so quick!

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

The topic ‘no-js class’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bootstrap-basic4/1.3.10/screenshot.
   png)
 * Bootstrap Basic4
 * [Support Threads](https://wordpress.org/support/theme/bootstrap-basic4/)
 * [Active Topics](https://wordpress.org/support/theme/bootstrap-basic4/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bootstrap-basic4/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bootstrap-basic4/reviews/)

## Tags

 * [disabled](https://wordpress.org/support/topic-tag/disabled/)
 * [enabled](https://wordpress.org/support/topic-tag/enabled/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [No JS](https://wordpress.org/support/topic-tag/no-js/)

 * 3 replies
 * 2 participants
 * Last reply from: [alsterb](https://wordpress.org/support/users/alsterb/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/no-js-class/#post-10419950)
 * Status: resolved