GIF image as background

  • Author
    Posts
  • #825005

    realagenda
    Member

    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 real-agenda.com.

    #825125

    justpi
    Member

    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.

    #825385

    realagenda
    Member

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

    Thanks!

    #825390

    justpi
    Member

    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.

    #825395

    realagenda
    Member

    Very greatful!

The topic ‘GIF image as background’ is closed to new replies.