Left align body text in PB tab set

User Story
As an editor I would like the able to optionally left-align body text in Tab Sets.
Summary
We are adding a new field to allow editors to choose how to align the body text in there tabs sets. This is a design choice for editors based on what information they are trying to convey.
Existing element
This is an enhancement of the PB Tab Set element.
Design Notes

See mockup below.

Mock ups
Center aligned
Technical Notes

Modify the Tab Set (pb_tab_set) to add a field for alignment. (use the field_pb_title_options as reference)

  • Type is select, required
  • Label: Body Alignment
  • Help txt: Set this value to align the body text in all the tabs.  The default is center.
  • Options include ‘center’ (the default) and ‘left’. 

Manage form display

  • Add field between theme and border fields.

--- POSSIBLE ISSUES ---

Do we need to programmatically set all current PB’s to center? OR in code do we default to center if no value set?

Reviewers
DO Marketing
Colleges
Tasks Checklist
  • Design
  • Development
  • Theme
  • UAT/Review
  • Knowledge Base
  • Deployment
Status
Done
Category
Paragraph
Approved
Yes