I have an elementor page with a nav element.
The page returns a lot of errors on the w3c validator, like this one:
Error: Attribute migrated not allowed on element nav at this point.
<nav migration_allowed="1" migrated="0" role="navigation" class="elementor-nav-menu--main elementor-nav-menu__container elementor-nav-menu--layout-horizontal e--pointer-none">
I’m wondering how to remove these attributes, is it possible to edit the elementor pluign itself update-proof?
Or could I use a hook to edit it before rendering with PHP?
2
Answers
I had the same problem, i solved it with editing nav-menu.php on row 1276 bij adding two forward slashes before ‘migration_allowed’ and ‘migrated’.
It’s NOT update-proof, but I’m working on a custom nav-menu-widget which will solve the update problem.
I had the same problem, i solved by installing the Real-Time Find and Replace by Marios Alexandrou plugin and i simply removed it from the code. So far it seems to be working just fine without it.
how it looks