Replace Spinner with a logo

AI-generated summary

The discussion revolves around replacing the default spinner with a custom logo or image in a Discourse forum. kmdonovan1 asks how to replace the generic spinner with a logo, providing CSS code. dax suggests using background-image and background-size to overlay the logo. kmdonovan1 thanks the suggestion and shares their website, which is still under development. bartv shares a creative 3D spinner used by the Blender community, with a challenge to design new animations monthly. riking links to a custom spinner example, while Canapin mentions using a GIF and expresses interest in customizing the loading HTML. bartv provides a link to the original spinner GIF and notes that meta converts it to JPG. Canapin also references a related meta discussion on customizing the loading icon.

How can I replace a generic spinner with a logo?
Here is the CSS code

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    background-color: #ffffff;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

I would like to replace the generic white cube with a logo. Any suggestions?
Thanks

Avoid repositioning; you simply need to overwrite the current icon, so add the background-image and the background-size.

.spinner {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
    background-image: url("URL-of-your-logo-image-here");
    background-size: 40px 40px;
}

Thanks! Let me play with the code and see if can make it work.

The website is lajollacreative.com still a work in progress.

I just wanted to chip in here with our custom ‘spinner’. But since we’re a 3D graphics community, we had to take it to another dimension :slight_smile: Check it out on https://blenderartists.org/

Here’s another one:

My loading icon is a gif, but I’d be interested to know if someone actually made a theme component to customize the loading HTML code.

For a bit of extra fun we decided to challenge our community to design new spinners, we’ll change the animation once a month or so.

The first one we selected represents the rendering process in Blender:

Edit: oops, meta converts uploaded gifs to jpg :-/ Click here to see the original (or visit our site to see it in action).

That could interest people that come in this topic: