Floating labels not working
-
The floating labels are not being triggered. It’s working on the backoffice if I press to see Material Blocks.
<form class="mdc-form-field contactForm" method="POST" action="https://script.google.com/macros/s/testing"> <div class="mdc-form-field form-elements"> <label class="mdc-text-field mdc-text-field--outlined"> <span class="mdc-notched-outline"> <span class="mdc-notched-outline__leading"></span> <span class="mdc-notched-outline__notch"> <span class="mdc-floating-label" id="full-name">Full Name</span> </span> <span class="mdc-notched-outline__trailing"></span> </span> <input type="text" class="mdc-text-field__input" aria-labelledby="full-name" required> </label> </div> </form>
I’m testing locally with a child theme of GeneratePress on WordPress 5.8.
It’s working if I activate the included Material Design Theme. However, I want to use the functionality without the Material theme.
GeneratePress is one of the most popular themes. What do I need to do?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.