Nowadays, blogs and websites are ranked on basis of various factors and page load speed is also one of the factor on which your search rank depends.
If you are on Blogger then the reason you don’t get good search results if compared to similar WordPress blogs is because WordPress sites load faster and that’s because the CSS for the website is hosted externally.
In blogger templates the CSS styles are always internal and those CSS lines are 100s in number. The simple template in Blogger have more than 20kb
of CSS styles inside the document.You maybe thinking
how 20kb of CSS can slow down your page, 20kb can be downloaded easily with speed or even slow internet connection but here it’s not about your internet connection speed, it is about your page’s speed. Every single bytes can decide your rankings on search pages.
You are now ready to remove the CSS from your template and put it into a CSS file. Follow the instruction below.
Create a CSS file
- Open Notepad, don’t type anything
- Click on the file menu and click on Save As
- Locate where you want to Save the file
- Now name your file with .css at end, in Save As type place select ‘All Files’ and in Encoding select ‘UTF8’ that is it. See what it should look like this
Read Also : Colorful jquery digital clock Add on Blogger
- Save the file and it will be in a .css format if you did it right
Move style code from template to stylesheet
Host the file
Attach it to your template
1
|
< link rel = 'stylesheet' type = 'text/css' href = 'http://host.com/files/stylesheet.css' /> |
http://host.com/files/stylesheet.css
Mission Accomplished
Yay ! congrats on improving your page load speed by using external CSS files, it not only optimize your page speed but also makes the page rendering easy. But the problem is that you can only put normal CSS in the stylesheet, if you want to make all the CSS codes compatible with a stylesheet you can contact me on MyTricksTime@gmail.com and yes you have to pay $8 for it.
Enjoy Guys! and don’t forget to post your comments. � MyTricksTime.com