madeyourday / contao-rocksolid-custom-elements

RockSolid Custom Elements Contao Extension
http://rocksolidthemes.com/de/contao/plugins/custom-content-elements
MIT License
48 stars 12 forks source link

Backend class for elements? #99

Closed ngdot closed 6 years ago

ngdot commented 6 years ago

Is it possible to add a backend element class for styling own elements via a own backend css file? Currently each element got something like this tl_content indent indent_2 even click2edit toggle_select hover-div.

ausi commented 6 years ago

The HTML output of content elements in the backend gets the same HTML code as in the frontend. So you can directly use the CSS class of the element to style it.