Html classes are incorrect after Pro update to 3.0.4

Hello. I finally updated my Pro theme to 3.0.4 today. After the update I noticed some critical features were broken on the frontend. At first it seemed like a Javascript problem, but eventually found that it was a CSS issue. I had some styles in my child theme’s stylesheet that were specified with the class “.js”, and those styles were not being applied. I then noticed that the HTML element on all my sites pages had only one class: “no-js”.

Before updating Pro, I assumed the theme was implementing some version of the Modernizr browser feature detection script, and then applying the appropriate classes to the HTML element so that developers could use these classes to serve the best user experience to the current user/browser. Am I correct in assuming that this is a feature of the Pro/X themes? Or is this something that Wordpress core implements?

If this is a Pro/X theme feature, can you think of any reason why the latest 3.0.4 update would have affected this feature? I’ve accessed my site from Chrome, Safari, and Firefox to confirm that it is not an issue with my default browser (Chrome). The HTML element on all my site’s pages had the single “no-js” class in all three browsers.

Has anyone else noticed this?

Thanks!

Hi @adaptifyDesigns,

Sorry that you’re having that issue, that is actually a confirmed bug and has been already fixed in the next release. We could not provide an ETA when is the next release though.

Please stay tuned, you can check the changelog page when we release and update to see if the fix for this is included.

Thanks,

Thanks! I’m glad to know this is being fixed.

You’re most welcome.
This shall be fixed when we roll out our next release updated cycle.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.