Hi Friends, I have build my website with new design using css. The size of my css file is aprox. 18kb 1) Does decreasing css file size play role in SEO? 2) Do I need to decrease my css file size? (18kb to less) I have removed most of the blank spaces from my spaces. any other method, I can use? Also, I've seen many websites using all css code on a single line. I think we can do it using php, How can I do it? Thank You!
1. No, it doesn't. 2. You can reduce the file size repeating classes, using shorthand CSS instructions, and simplifying your design. It is not a must for a 18kb large CSS file. Best, Tedel
1. not directly, faster sites are more favorable by search engines 2. try audit your entire site with yslow or pagespeed, css might not be your biggest problem regarding speed
Yes reducing the css file is a good easy way to start speed optimizing. Use the pagespeed addon, it will automatically create your css file. I believe you can do the same with your html files but I wouldnt suggest that
I think 18KB is not too big to be compressed but if you want to compress it, I suggest you to use online free css compressor like http://www.cleancss.com/