GIF image as background

  • Unknown's avatar

    Can I set an animated GIF image as a background on WordPress.com?

    If so, how can I do that?

    I have a news website and would like to have a moving orb as a background, but before buying the GIF file I’d like to make sure it is possible.

    Thanks,

    Luis.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I just tried an animated gif as a bg: it didn’t work when uploaded via Appearance > Background, but it did when I added the equivalent code in the CSS editor.

    Note: I’m a Mac user so I can’t tell if Explorer would display it correctly.

  • Unknown's avatar

    Would you please lend me the code you used so I can test it?

    Thanks!

  • Unknown's avatar

    Upload the image via Media > Add New and copy the file URL. Then paste this in the CSS editor:

    body {
    background-color:#123456;
    background-image:url('URL');
    background-repeat:no-repeat;
    background-position:top center;
    background-attachment:fixed;
    }

    Replace 123456 with the hex for a color that’s close to the predominant one of the image and URL with the actual URL of the image.

  • Unknown's avatar
  • The topic ‘GIF image as background’ is closed to new replies.