Problem/Motivation

The display options for the label of a field are currently only Above, Inline, and〈hidden〉. While designers can place the label to the left or right of a field using 'float left' or 'float right', they are not able to place the label beneath the field, given the HTML ordering of Field-Label.

Proposed resolution

Add a display option of 'Below', and enable label to display beneath field.

Remaining tasks

Patch written.

User interface changes

Add a display option of 'Below' in for Field->Label on page admin/structure/types/manage/[content type name]/display

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 label-below-field-2604482-2-D7.patch2.11 KBMark_L6n

Comments

Mark_L6n created an issue. See original summary.

Mark_L6n’s picture

StatusFileSize
new2.11 KB

Uploaded patch.

Mark_L6n’s picture

Hmmm...having trouble updating 'Related Issue', which is the same for D8: #2023533: Add 'Below' position option to Field Label display

Mark_L6n’s picture

Status: Active » Needs review
David_Rothstein’s picture

Status: Needs review » Closed (duplicate)

Thanks, but it needs to go into Drupal 8 first. I marked the other issue for possible Drupal 7 backport now though.