Class explicitly no-animation, but doesn't catch if other classes exist
-
The no-animation class doesn’t work if there are other classes assigned to the anchor element, this can be easily fixed by changing the following line in the file: class-page-transition.php – line 397 at the end of the line
from:
:not([class=”no-animation”])
to:
:not(.no-animation)
If no-animation is the only class, the original code works fine, but if you have more than that class assigned to the element, the transition still fires.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Class explicitly no-animation, but doesn't catch if other classes exist’ is closed to new replies.