Change page Load pattern

Hello, I need to change the pattern which appears while loading my websites’ pages.
I need to add an image instead of the regular one “Three dots”.

Hello Ahmed,

The three dots loader is a gif image which you can change via CSS.

Please try this code in X > Theme Options > CSS:

#x-isotope-loading {
    background-image: url(URL_OF_THE_NEW_LOADER);
}

Please change URL_OF_THE_NEW_LOADER to the URL of the image file you want to use.

Hope this helps.

It didn’t work, for sorry.

Hi Ahmed,

Can you also try setting your image width and height in that custom CSS rule and see if that helps.

For example:

#x-isotope-loading {
    background-image: url("http://example.com/path/to/your/image.gif");
    width: 40px;
    height: 40px;
}

If you’re still having issues, please provide us with an example page URL of your site to check the issue further.

Thanks!

Hello again, I added the new code and the new image appeared but the old one is still intersecting with it.
Here is my home page: https://notbadminton.com/ and this is the gif photo

Any solution?

Please add this CSS code to make the circles disappear.

.x-loading:before,
.x-loading:after {
    display: none;
}

Hope that helps.

The right and left dots disappeared, but the medium one still present

Hello Ahmed,

Please remove the code given by @Christian_y and update it using this code instead:

.x-loading, .x-loading:before, .x-loading:after {
    border-radius: 0;
    animation-fill-mode: none;
    animation: none;
}

We would loved to know if this has work for you. Thank you.

1 Like

Ya, finally it’s working.
Thank you bro

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.