A
A
ayapergenov2016-01-21 09:14:55
css
ayapergenov, 2016-01-21 09:14:55

How to fix a layout with a large number of inherited styles?

There is a catalog of products on Bitrix, which accordingly uses components with their own styles.
(Whoever worked with Bitrisk knows how immense the number of folders and files is there).
There is also the layout of the catalog page from the html template.
All this is soldered into a single code. The result is a confusing mix in which a bunch of files with styles.
How to clear all this goodness. To get an adequate page?
You can’t just reverse it, because there are already components with their own styles.
Yes, and there is a ready-made template with an adequate layout. And here at connection the nonsense turns out.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr Crabbz, 2016-01-21
@ayapergenov

Well, what are the options? Take and edit styles. If you don’t feel like taking a steam bath, include at the very end a separate .css with edits in which you will overwrite the properties you need. Just remember to respect the specificity (weight) of the selectors so that the properties are still overwritten with fewer !importants.

A
Alexander Filippenko, 2016-10-01
@alexfilus

How is it soldered? Automatically? Then, firstly, in the resulting file, in the comments, there are paths to the source files, and secondly, you can uncheck the corresponding checkbox in the settings of the main module and reset the cache to the pages, and you will see all the files separately.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question