Use this code to reset replacing all the code in your previous theme, its function is to completely reset your previous theme settings.
Copy this code then go to blogger's Theme section then click edit HTML. Select all HTML code then Delete it. Paste this code and click Save. The theme will reseted successfuly. Then select all and Delete. Copy your new Template code then paste and click save.