To align the text in the "MEET US" section so it stays fixed to the right side of a photo with a consistent 20–30px spacing, you'll need to use a proper layout structure in Webflow.
1. Structure Your Layout with a Flex Container
- Select or create a container (such as a
Div Block
) to hold both the photo and the text. - Set the container’s Display to Flex by selecting it and going to the Style panel > Layout > Display > Flex.
- Choose Direction: Row so the items sit side-by-side.
- Set Justify: Start and Align: Center (or adjust as needed based on vertical alignment).
2. Arrange the Photo and Text Blocks
- Inside the Flex container, place:
- Image element on the left.
- Text block or another Div block for the "MEET US" content on the right.
3. Add Right-Side Spacing to the Image
- Select the image element and add a right margin of 20–30px to create the fixed gap.
- Alternatively, you can add a left margin of 20–30px to the text block, either works depending on your layout goals.
4. Keep the Text Right-Aligned (Optional)
- If you want the text inside its block to be right-aligned:
- Select the text block (or content inside it).
- Set the Text Align to Right in the Typography section of the Style panel.
5. Make It Responsive
- On smaller breakpoints (tablet, mobile), consider switching the parent Flex container to:
- Flex Direction: Column to let the elements stack.
- Adjust margins or padding to maintain spacing between elements.
Summary
Wrap the photo and "MEET US" text in a horizontal Flex container, place the image first, and apply a 20–30px right margin to the image (or left margin to the text) to maintain spacing. Ensure the content aligns correctly across breakpoints for responsiveness.