The CSS section of your Blogger template takes up a lot of the overall file size of your blog pages. This is because each element of your <b:skin> (or <style> for those using classic Blogger templates) is featured on a separate line. There is a lot of unnecessary "white space" (page breaks, indentations and spaces) and possibly HTML comments. By eliminating unnecessary white space and HTML comments, you can reduce the overall size of your blog pages. However, doing this can make it difficult to edit the style section afterwards!
Online CSS Optimizer/Optimiser is a web tool for reducing the file size of cascading style sheets. In order to save more space optimized files would be messy even so you may output it as a file. Non-valid or hacked (for certain browsers) CSS files may result in error.
If you would like to improve page loading time by optimizing the style section of your Blogger template, here is the easiest method you could use:
- Copy all of the code between the <b:skin> and </b:skin> tags in your blog's HTML code.
- In a new browser window or tab, visit the CSS Optimizer website, and paste your style code into the "direct input" box.
- Click the "Optimize" button (there is no need to check the box which says "do not remove line breaks").
- The next page will offer your optimized style code inside a text box, along with data of how much this has been compressed.
- Copy all of the code, and paste (replace )your style code into the xml tempalate.
- preview your blogs's faster.
- done
0 comments:
Post a Comment