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
- The topic ‘no-js class’ is closed to new replies.