A
A
Alexander2016-03-14 23:24:39
css
Alexander, 2016-03-14 23:24:39

What to do with big css file?

There is one online store. And css files connected to it - occupy 2-3mb.
In principle, they are already minimized.
The largest css file is 730kb, this is the Visual Composer plugin file. I use it on some pages, and basically don't want to delete it yet.
Question: what can be done to reduce the size of the loaded css?
Or will you still have to remove the plugin and rewrite the site manually?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexander Aksentiev, 2016-03-14
@Sanasol

Is Visual Composer not about the admin part?
Clean up unused CSS.
What is there in general for 2-3mb maybe, this is enough for five sites.
ps
Checked my css.
30 css in one are going to 350kb
This is a whole bootstrap and a bunch of different libs.

W
Web Developer Blog, 2016-03-15
@Alexey_Suprun

The Minifier plugin in Sublime Text does a great job

Z
zooks, 2016-03-15
@zooks

Visual Composer plugin file

Why is this at all? Remove all trash immediately.
For unused style selectors, a Firefox add-on to help:
https://addons.mozilla.org/en/firefox/addon/dust-m...

G
Gregory, 2016-03-14
@TMGLUK

Try going through this: https://github.com/geuis/helium-css
But some say it's wrong.

S
ssrdop, 2016-03-17
@ssrdop

Or a lot of excess is described. Because 3 mb is too much) If you want to speed up the upload a little, then paste it into the tag

D
Dmitry Pacification, 2017-02-22
@dmitry_pacification

zooks prompted a sensible idea. I would also check the file with browser plugins. For chrome, I also saw some .... just don't remember its name.
Remove all unused properties.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question