Requested and provided by Razem
Problem/Motivation
- Section ONLY
- Name the fieldset: Alignment
- Horizontal alignment
- Vertical alignment
Proposed resolution
- Have a custom Bootstrap Style - Styling Group named "Alignment"
- Have 2 custom Bootstrap Style - Styling plugins:
- HorizontalAlignment
- VerticalAlignment
Other layout options could be aligned using this Bootstrap 4/5 way
#3210657: Add Boxed options ( Wide, Medium, Narrow, Tiny ) in Varbase Layout Builder ~10
Use some of the Bootstrap 5 icons
https://icons.getbootstrap.com/

Horizontal alignment
Align start
Align center
Align end
Maybe more icons for more alignment options in Bootstrap 5.
Vertical alignment
Align top
Align middle
Align bottom
Remaining tasks
For manual update

User interface changes
- Have Alignment UI/UX styling options with VLB
Boxed VLB - No background - Align NONE

Boxed VLB - No background - Align start

Boxed VLB - No background - Align Center

Boxed VLB - No background - Align end

2 cols - Boxed VLB - No background - Align NONE

2 cols - Boxed VLB - No background - Align start

2 cols - Boxed VLB - No background - Align Center

2 cols - Boxed VLB - No background - Align end

Boxed VLB - BG Color - Edge to Edge BG - Align NONE

Boxed VLB - BG Color - Edge to Edge BG - Align start

Boxed VLB - BG Color - Edge to Edge BG - Align center

Boxed VLB - BG Color - Edge to Edge BG - Align end

2 cols - Boxed VLB - BG Color - Edge to Edge BG - Align NONE

2 cols - Boxed VLB - BG Color - Edge to Edge BG - Align start

2 cols - Boxed VLB - BG Color - Edge to Edge BG - Align center

2 cols - Boxed VLB - BG Color - Edge to Edge BG - Align end

Boxed VLB - BG Color - No Edge to Edge BG - Align NONE

Boxed VLB - BG Color - No Edge to Edge BG - Align start

Boxed VLB - BG Color - No Edge to Edge BG - Align center

Boxed VLB - BG Color - No Edge to Edge BG - Align end

2 cols - Boxed VLB - BG Color - No Edge to Edge BG - Align NONE

2 cols - Boxed VLB - BG Color - No Edge to Edge BG - Align start

2 cols - Boxed VLB - BG Color - No Edge to Edge BG - Align center

2 cols - Boxed VLB - BG Color - No Edge to Edge BG - Align end

RTL Support



API changes
Data model changes
- Section configuration will have 2 new saved values for alignment
horizontal_alignment
vertical_alignment
Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahAfter having a look at
Implementing the following
Comment #8
rajab natshahHorizontal alignment
Vertical alignment
Comment #9
rajab natshahComment #10
rajab natshahComment #13
rajab natshahComment #15
rajab natshahComment #16
rajab natshahComment #19
rajab natshahComment #21
rajab natshahFeedback by Razem
Comment #25
rajab natshahComment #26
rajab natshahComment #27
rajab natshahComment #28
rajab natshahComment #29
rajab natshahComment #30
rajab natshahComment #31
rajab natshahComment #32
rajab natshahComment #33
rajab natshahComment #34
rajab natshahComment #36
rajab natshahAdded a hook update to import:
Horizontal alignment
Vertical alignment
into the bootstrap_styles.settings config