AOS not loading if code is in php template or blocks
-
I’ve noticed that the only way to get animations working on pages is if a block on the page has the aos class added to a block within the Block Editor interface.
I’ve been using the oas- classes or aos-data attributes within custom blocks or php templates (page.php, header.php), and it has not been detected unless I do the above.
Any workaround?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘AOS not loading if code is in php template or blocks’ is closed to new replies.