Suggested critical changes to optimize the theme
-
Few critical changes required to improve the theme are:
1. This will help getting rid of jquery-migrate requirement
change:
schema-lite/js/customscripts.js
line 99
from:
jQuery('a[href=#top]').click(function(){
to
jQuery('a[href="#top"]').click(function(){
(simply add double quotes around #top)
2. Fix w3c invalidation errors (not warnings)
-> add the missing closing </div> tag just above </body> in footer.php
-> change duplicate id tags to classes at many places, so that there isn’t a conflict or error anymore
I have many more changes, which I’ve coded as child theme, keeping all design elements same just fixing the errors of the theme.
I’ve updated the current progress here: https://github.com/nabtron/schema-lite-child
Will keep updating it to help you and others.
Let me know if you want me to be a contributor to your themes to improve them.
- The topic ‘Suggested critical changes to optimize the theme’ is closed to new replies.