CSS getting bigger and bigger

Posted in: Newsmag
Post count: 217

Hi,

I got the feeling, that the CSS file is getting bigger and bigger. In the new version it is 712 kb. It’s really a monster compared to other themes e.g. Sahifa. It has around 200-300 kb.

Isn’t it possible to add simply these things, that I really use? If I’m using only Header 1, I don’t need the rest in my css. Just an example. Sure, I can go through the whole big file and delete it by myself, but with every update the changes are gone.

Are you planning to slim down this CSS monster in the future? You know, Google loves speed and every kb is one kb too much.

Thank you!

Post count: 23312

Hello Bichareh,

We are aware that our CSS is a big one because we have a lot of features. You can try to use this tool for CSS compression, like this -> http://csscompressor.com/

Thanks for your understanding!

Post count: 217

But other themes have a lot features too. 😉

My css is already compressed. After manually deleting a lot of useless stuff and compressing it’s still over 400kb.

No offense, I love your theme, but the source code seems bloated. 🙂

Post count: 6535

HI

There is no useless code in style.css file. Indeed not all code is applied on each page but all code have its own purpose and it is applied in some specific situations. For example some code is applied only when header style 5 is used or a bbpres page is loaded.
You can try the gzip compression to reduce the transfer time for css file, it will increase page load time: https://gtmetrix.com/enable-gzip-compression.html

Thanks!

Post count: 9544

Keep in mind also that many other themes load up to 20 files which also add up to a lot of css … However, when i tuned the crap out of v2 i did take out bbpress, woocommerce, translation support, and moved to mobile default font stack… Which wordpress is moving to also. Hoping tagdiv will consider adopting the new wp default font stack also as google fonts do load bunch of extra page size.

Trade off. But im used to bootstrap 2 ?

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.