Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Detect JavaScript support in Genesis child themes
Detect JavaScript support in Genesis child themes
This plugin adds a 'no-js' body class to the front-end of Genesis child themes and replaces it with 'js' when JavaScript is detected. It's designed for developers building on the Genesis Framework who need to apply different styles depending on whether a visitor has JavaScript enabled.
<body> tag, changing the class from no-js to js if JavaScript is active. No configuration needed.genesis_before hook, so it integrates cleanly with Genesis child themes without modifying theme files.No comments yet. Be the first to start the conversation!