If you disable the hover effect when CSS in the Custom Code section, it will not get overridden when you upgrade.