Hello, I am using the latest version of WordPress and Pro with Integrity theme.
I am trying to optimize my site for speed. I only have “Solid” font awesome icons activated. I tried changing the Font Awesome load type to “SVG”.
- All SVG icons create an HTML validation error " Element div not allowed as child of element span in this context". How do I fix this error? Here are a few examples:
- SVG code is added to every menu and submenu even if it does not have a sub-indicator. This adds a tremendous amount of unnecessary code. How do I remove SVG code from menus/submenus that do not have a sub-indicator? Here is an image of my navbar menu which only has three sub-indicators:
Here is an image of HTML code:
Here is the URL to view live: https://www.bellafsm.com/industries/carpet-cleaning-software/
Please advise. Thank you.