A
A
Andrey Aleksandrovich2015-04-18 18:50:00
css
Andrey Aleksandrovich, 2015-04-18 18:50:00

How to separate 1C-Bitrix styles for a template and PU?

Dear colleagues!
Recently I started to deal with the development of templates for 1C-Bitrix and ran into such a problem:
the template styles override the styles of the Bitrix admin panel in the frontend. For example, in the template you need to style checkboxes and radio buttons, and the styles indicate that they need to be hidden. And they, respectively, are hidden in Bitrix pop-up windows.
This is how it is displayed now (the styles for the table were immediately pulled up), i.e. it is not visible which checkbox is pressed and what is selected:
b184f3326aee4d0884d46308d0d25204.png
And this is when I commented out the design of form elements and tables:
9a1697e8842d4d7d8ab13fb7c0d8bdc6.jpg
I tried to move styles between the template_styles.css and styles.css files, but the result is the same :(
Maybe there is some way to separate them once and for all so that the styles for the template do not override the standard Bitrix styles? Or maybe I'm doing something wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-04-18
@KaSeo

You either need to use your own classes, not tags, or make some kind of container and define all the styles inside of it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question