How can I restore my lost footer on the Prestige theme?

Topic summary

A user accidentally deleted their footer while adding size chart code to the Prestige theme and needs help restoring it with its original icons.

Recommended Solution:

  • Use Shopify’s built-in version rollback feature to restore the footer
  • Navigate to: Online Store > Themes > Actions > Edit code
  • Select the modified file and click “Older versions”
  • Choose a version from before the changes were made
  • Save the restored file

Key Advice:

  • Always back up themes before making code modifications
  • If unable to remember which files were changed, sharing the store URL can help community experts identify the issue

Related Issue:
A separate user reported their index.json file disappeared, causing a 404 error on their homepage. This appears to be an unresolved follow-up question in the same thread.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

Hi,

I am using the Prestige theme, as I was adding code for my size chart, I somehow managed to completely delete my footer… Please can someone advise the code I should use to get it back, with all the usual icons that were there.

Thanks,

Abi

Hey @abihorton !

This is Moira from the Social Care team at Shopify.

Thanks for taking the time to reach out to us here in the Shopify Community. You’ve definitely posted in the right place! I’m more than happy to look into this coding error for you and help you retrieve your footer back.

Shopify knows that errors are just human nature, so we have provided a way to undo changes made to a code file in your theme over time. Rather than trying to re-implement your footer code, my first suggestion is to try rolling back your .liquid files individually to a time and date before you made the changes. In these cases, it is up to you to remember the files you modified when you were making your changes. If you feel lost and cannot remember which theme files you adjusted, make sure to share your store URL, then post it here in the Shopify community where experts, are always ready to help you.

  • From your Shopify admin, go to Online Store > Themes.

  • Find the theme you want to edit, and then click Actions > Edit code.

  • Click on one of the files under the relevant folder in which you want to undo changes.

  • Click Older versions next to the file name

  • Click the drop-down menu to select an older version. Clicking a date stamp will roll the code back to that saved version. If you remember when you made the changes, you can return to the state of the file before your changes.

  • If you remember when you made the changes, you can return to the state of the file before your changes. Finally, don’t forget to hit the green save button!

TIP: Although the method applied here is effective in undoing your changes, the best way to protect yourself is to always back up your theme before making any coding changes. As you continue to customize your theme, it’s a good idea to make design and content choices that help to keep your online store accessible. I suggest taking a look at this guide for tips on providing an inclusive experience for your customers.

If you are unable to roll back to a previously saved version of your theme, we might need to do some further digging! If you can share a link to your store here and a bit more info on the code you implemented, we can see how you can best get support with this.

I look forward to hearing from you!

Hi,

my index.json file has disappeared and now my homepage is showing as 404 error, how can I get this back and put it right??