How can I add a GIF background to my homepage only?

Hi

I’d like to add a GIF as the background to my homepage only. All the information I have seen will update the background everywhere, and I only want it to change on the homepage if possible? Could anyone offer advice on how I can do this please? It needs to be twinkling or falling golden stars GIF which I have added to the content files. But I don’t know the code or where for just the homepage change.

Website is - https://lesley-jones-writes.myshopify.com/

Password - help

Thank you for any advice anyone can offer.

The password is not working

apologies it should work now

Hi @AuthorAngel

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code just above tag
{% if template contains 'index' %}

   {% endif %}

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Best Regards,
Makka

That is absolutely perfect. Thank you very very much.

how would i do this same thing but only the password page?

sixwellclothing.com