Join our Telegram channel@the_pro_project
Night Shield Full Screen

How to Add a Preload Animation to Blogger?

If you are looking for how to add a Preload Animation On Blogger website then this post is just for you.

If you are looking for how to add a Preload Animation On Blogger website then this post is just for you.

I am Monish. I have been involved with coding for a long time. I will give you proper advice from long experience so let's start.

How to add Preloading in Blogger

We only used then HTML, CSS and JS. Are you upset about your website speed? do not worry it doesn't affect your website speed.

Also do not worry about it this Accordion Section also has dark mode CSS that you just want to change the dark mode class that we gave with your theme dark mode class, you can fluently change it by following this tutorial precisely.

Should you add a Preload Animation to Blogger website?

As I would see it, I will tell yes you need to add a perusing Preload Animation in your Blogger site on the grounds that your site guests will consider this like a difficult model: to peruse the article totally and the advancement bar will assist with perusing the article totally for guests and your site impressions increments.

How it works?

The Preloading vitality will show till the runner fully load also it'll show the website main content is also responsive.

So without wasting important time let's check How to Add a Preload Animation to Blogger?

You can see the demo here:-

Demo

How to Add a Preload Animation to Blogger?

Important!Before we start adding codes in XML, I will recommend you to take a Backup of your current theme. By chance if any problem occurs, you can restore it later.

Step 1: First of all Login to your Blogger Dashboard.

Step 2: On Blogger Dashboard, click Theme.

Step 3: Click the arrow down icon next to 'customize' button.

Step 4: Click Edit HTML, you will be redirected to editing page.

Step 5: Now search the code ]]></b:skin> or /*]]>*/</style> and paste the following CSS Codes just above to it. Or you can paste it above <head/> tag by adding <style></style>

/* Preloader by The Pro Project */ .pldW{position:fixed;top:0;left:0;bottom:0;right:0;z-index:990;display:flex;background:rgba(255, 255, 255, 0.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);justify-content:center;align-items:center} .pldW.flat{background:#fffdfc} .pldW.fadeOut{animation:loadFadeOut 1s backwards} .pldW.hidden{display:none} .pldW .crcl{width:70px;position:relative;display:flex;flex-wrap:wrap;margin-bottom:-15px;justify-content:center;align-items:center} .crcl .r, .crcl .g, .crcl .y, .crcl .b{position:relative;width:10px;height:10px;border-radius:10px;margin:2px} .crcl .r{background-color:#ea4335;animation:movingUp 0.5s infinite alternate} .crcl .b{background-color:#4285f4;animation:movingUp 0.5s 0.2s infinite alternate} .crcl .g{background-color:#34a853;animation:movingUp 0.5s .5s infinite alternate} .crcl .y{background-color:#fbbc05;animation:movingUp 0.5s .7s infinite alternate} 
.drK .pldW{background:rgba(0, 0, 0, 0.1)} .drK .pldW.flat{background:#1e1e1e} @keyframes loadFadeOut{from{opacity:1} to{opacity:0}} @keyframes movingUp{from{top:0px} to{top:-15px}}

Don't forget to change .drK with your website theme dark mode class, if your theme did not have a dark mode feature then keep default!

Step 6: Then find the code </body> and paste the following CSS Codes just above to it.

<b:if cond='data:view.isSinglePost'></b:if>
<!--[ Preloader by The Pro Project, Add class name 'flat' to 'blur' for blur background  ]-->
  <div class='pldW flat'>
    <div class='crcl'>
      <div class='r'></div>
      <div class='b'></div>
      <div class='g'></div>
      <div class='y'></div>
    </div>
  </div>
  <script>
    /*<![CDATA[*/
    document.addEventListener('DOMContentLoaded', function() { setTimeout(function() { document.querySelector('.pldW').classList.add('fadeOut') }, 2000);
      setTimeout(function() { document.querySelector('.pldW').classList.add('hidden') }, 2850) }); /*]]>*/
  </script>

Step 7: Save or Publish the html changes by clicking on this icon

Important Information:

  • Following this method refreshes your website every moment in all places of the website ex. post/page/home page will show this preload animation. You can change it if you want. If you only want to show this preload animation on homepage then remove just this code shown in step 6 👉 <b:if cond='data:view.isSinglePost'></b:if>
  • I have shared with you two types of preload animation effects, menly background style is flat and blur. You can easily use it by changing the HTML code. For this you can change the HTML code shown in step 6. I already added flat background you can change it to blur if you want. For this, it will work only if you change or replaced the flat code shown in step 6 to blur.

Terms of Use

To appreciate our workshop, consider keeping the credits in canons.

We do not allow to rewrite this post in any manner. Do not copy this post, canons or any part from this composition without authorization, it's rigorously prohibited.However, Legal conduct will be taken, If you do so.

Conclusion

In this article I have made a tutorial on How to Add a Preload Animation to Blogger?. I Hope you have liked this article and please do share with your friends and follow up blog for more.

Our All Posts Are Protected By DMCA. So Don't Try To Copy Our Posts And Reproduction In Any Way Is Strictly Prohibited! Or else Legal Actions Will Be Taken. © The Pro Project | All Rights Reserved

© Copyright:
www.the-pro-project.blogspot.com

Source:
www.fineshopdesign.com

About the Author

I am Monish currently I am a student. I love editing photos and videos. I have been in this profession for three years. So I am teaching you photos and videos from my three years of expertise.

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.