feat: vertical text alignment option #53

Closed
opened 2026-06-04 12:05:26 +00:00 by jmiller · 1 comment
Owner

Summary

Add a vertical alignment option for the overlay content. Currently content is always vertically centred. Many hero designs need text anchored to the top or bottom of the hero.

Requirements

  • New verticalAlign list field with options: top, center (default), bottom
  • Apply via align-items on .mokojoomhero__overlay (flex container)
  • Add appropriate padding adjustments for top/bottom positions
  • Works across all hero modes

Acceptance Criteria

  • Content can be positioned at top, centre, or bottom of hero
  • Padding adjusts so content does not touch edges
  • Works on mobile responsive layout
  • Language strings for all three options
## Summary Add a vertical alignment option for the overlay content. Currently content is always vertically centred. Many hero designs need text anchored to the top or bottom of the hero. ## Requirements - New `verticalAlign` list field with options: top, center (default), bottom - Apply via `align-items` on `.mokojoomhero__overlay` (flex container) - Add appropriate padding adjustments for top/bottom positions - Works across all hero modes ## Acceptance Criteria - [ ] Content can be positioned at top, centre, or bottom of hero - [ ] Padding adjusts so content does not touch edges - [ ] Works on mobile responsive layout - [ ] Language strings for all three options
jmiller added the cssenhancementjoomla labels 2026-06-04 12:05:26 +00:00
Author
Owner

Branch created: feature/53-feat-vertical-text-alignment-option

git fetch origin
git checkout feature/53-feat-vertical-text-alignment-option
Branch created: [`feature/53-feat-vertical-text-alignment-option`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomHero/src/branch/feature/53-feat-vertical-text-alignment-option) ```bash git fetch origin git checkout feature/53-feat-vertical-text-alignment-option ```
Sign in to join this conversation.
No labels css enhancement joomla
Type
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomHero#53