D
D
Da ta2019-03-16 13:24:33
css
Da ta, 2019-03-16 13:24:33

How to remove/define unused style.css style lines?

The template has unused styles. Not all elements of the template are used on the site during installation.
Are there any program services that determine unused lines for cleaning
5c8ccedbeabb9761509298.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Shubnikov, 2019-03-16
@Andrew_Shbov

Try using the toaster search.
Is there a utility to remove unused css?

P
profesor08, 2019-03-16
@profesor08

And what will you do when those same blocks appear on the site in the future? Look for how to return them back, but not all, but the blocks you need? You have 12kb of CSS code, you will get the most benefit by optimizing any image.
In addition, you do not know what class names are changed using js, or will change. The risk of breaking everything is too great.
Similar functionality is achieved with the correct configuration of the project builder, when unused styles are thrown out. CSS Modes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question