How to Add Animation to Blogger - Preloader

How to Add Animation to Blogger - Preloader

August 27, 2022
How to add animation to blogger - preloader

Good day, dear visitors of our site. We have studied the most important sections for working with a Blogger platform. Now you can move on to the useful and at the same time beautiful. Surely you sometimes noticed that when entering some sites (blogs) before loading them, a small animation appeared on your monitor and it lasted exactly as long as the site needs to fully load the opened page. 

That is, until all its components are loaded, a certain animation object will wriggle in front of you. It is clear that this is done not only for beauty, but also so that the visitor can see all the components of the sites in front of him at once, and not separately each of them. In addition, such a widget shows that your site more than professional. The better the design, the more credibility.

An example of the animation can be seen on our test blog

How to Install Preloader into Blogger

1. To install the preloader widget, you need to go to Theme - Edit HTML find ]]></b:skin> and insert the following CSS code before it:

#loader {
background-color: #fff;
background-image: url(;
background-position: center center;
background-repeat: no-repeat;
background-size: 70px 70px;
bottom: 0px;
left: 0px;
position: fixed;
right: 0px;
top: 0px;
z-index: 9999;
The highlighted section of the code is a link to an animation image. You can change it to the following options:

2. Now you need to find in your theme <body> and paste after him:
 <b:if cond='data:blog.pageType == &quot;index&quot;'>
<div id='loader'/>

If you want that widget to work on all pages, not only on the Home page, then do not copy the code highlighted in orange. 

3. And the final stage, now we are looking for the code </body> paste before it:
<script type='text/javascript'>//<![CDATA[
// Loader

4. Save new settings and check the result.

Video Instruction

Share by this in:


Daniel August 29, 2022 at 1:54 AM

You can increase it, to do this use instruction in video.

Marc March 29, 2023 at 10:19 AM

Hey, thank you for the codes! I'm a beginner and appreciate your kind tutorial, may I know if we can add some text below the page and set a duration for the loader? Thank you again!

Daniel April 2, 2023 at 12:26 AM

Welcome. For duration try to play with numbers 1e3 in JS code. If you need text add this CSS code: #loader::before{content: "Hello World!"; color:#333; display:flex; align-items: center; justify-content: center; position: relative; top:59%;}