Custom CSS class for field editor sections?

  • 1
  • Problem
  • Updated 5 years ago
  • Solved
I would like to style different sections of one field editor differently (e.g. a blueish background and a green background). Unfortunately I am not able to add any CSS class to a specific section - there is no possibility to add this through the ui (maybe through XML?). Unfortunately there is also no ID that could be referenced to from the stylesheet?

Does somebody have an idea to accomplish the above?
Photo of Christoph Pernsteiner

Posted 5 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,678 Points 20k badge 2x thumb
John explored this very use case in a developer deep dive that we recorded a few weeks ago.  Here is a snapshot of the end result he was able to come up with:


I think its exactly what you are after. 

Check out that dev talk at: