Two questions that I guess are both a part of one bigger idea. When creating a content type, I've been trying to figure out how to both indent a field and create a line break after a field both by default. For indenting I have tried adding spaces before the field name, but because it's empty space they are disregarded and displayed as normal. For the line break, I've tried adding a custom code field with br or p, and simply adding a blank field, but in both situations as there is no text to display, the field is not displayed at all. Any suggestions?
The safest thing to do is to use the
#attributes Form Control Attribute. You can specify a CSS class to target this element to then supply some css rules to indent these elements in your sites theme.
Similarly, you can add a class to add a line break somewhere within the widget markup to create your linebreak. Be sure to notice that the class example in the linked documentation takes a PHP array of class(es) (not a string label for the class) ... that messed me up last week for like 20 minutes.