このページ: E メールデザイナーの列と構造の垂直方向の整列とパディングを調整する方法について説明します。また、モバイルでの正しいレンダリングのためにフラグメントに残ったパディングを修正する方法についても説明します。
この例では、3 つの列で構成される構造コンポーネント内のパディングと垂直方向の整列を調整します。
-
メール内で構造コンポーネントを直接選択するか、左側のメニューで使用可能な ナビゲーションツリー を使用します。
-
ツールバーから、「列を選択」をクリックし、編集する列を選択します。 構造ツリーから選択することもできます。
その列の編集可能なパラメーターが、「スタイル」タブに表示されます。
-
整列で、「上」、「中央」、または「下」を選択します。
-
パディングで、すべての辺のパディングを定義します。
パディングを微調整する場合は、「各辺に異なるパディングを使用」を選択します。 鍵アイコンをクリックして、同期を解除します。
-
同じようにして、他の列の整列とパディングを調整します。
-
変更を保存します。
パンくずナビゲーションを使用したフラグメントのパディングの管理 fragment-padding-breadcrumb
E メールデザイナーでフラグメントを操作する際に、デスクトップとは異なるモバイルレンダリングに影響を与える非表示のパディングや残余のパディングが発生する場合があります。 これは、フラグメントがロック解除されている場合や継承が破損している場合に特によく発生し、残りのスタイルが基になる列やテキストコンポーネントに残ることがあります。
フラグメントの残りのパディングを特定して編集するには:
-
ナビゲーションツリーを使用するか、エディターで要素を直接クリックして、フラグメント内の各親構造または列を選択します。 これにより、モバイルデバイスに固有の非表示のパディングやマージンを見つけることができます。
-
パンくずリストの要素を選択したら、右側の「スタイル」タブに移動します。
-
パディング設定を確認し、必要に応じてパディングを削除または再調整して、モバイル上の表示を正しく調整します。
-
フラグメントを再利用しても整列の問題が解決しない場合は、フラグメント内の他の列またはテキストコンポーネントに対してこのプロセスを繰り返します。
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page explains how to adjust the vertical alignment and padding of columns in a structure component in the Email Designer, and how to identify and edit leftover padding in fragments for correct mobile alignment.
Intents:
- Select a structure component directly in the email or using the Navigation tree available in the left-hand menu.
- Select the column to edit from the toolbar with Select a column, or from the structure tree, to display its editable parameters in the Styles tab.
- Set the vertical alignment of a column to Top, Middle or Bottom under Alignment.
- Define the padding of a column for all sides under Padding, or select Different padding for each side to fine tune the padding.
- Identify and edit leftover padding in a fragment by selecting each parent structure or column of the fragment and reviewing its Padding settings in the Styles tab.
Glossary:
- Residual padding: Hidden or leftover padding in a fragment in the Email Designer that affects mobile rendering differently than desktop. Leftover styling can remain in the underlying column or text components of the fragment.
- Different padding for each side (product-specific): A setting under Padding that you select if you want to fine tune the padding.
Terminology:
- Canonical name: structure component — variants: structure
- Canonical name: vertical alignment — variants: Alignment
FAQ:
- How do I change the vertical alignment of a column in a structure component? Select the column, then under Alignment, select Top, Middle or Bottom.
- Can I define a different padding for each side of a column? Yes. Under Padding, select Different padding for each side if you want to fine tune the padding, and select the lock icon to break synchronization.
- When is hidden or residual padding common in fragments? It is particularly common when fragments have been unlocked or when inheritance has been broken, as leftover styling can remain in the underlying column or text components. This behavior is also expected when fragments are repeatedly inserted and removed, as styling rules can accumulate.
- Where do I review the padding of an element selected in a fragment? In the Styles tab on the right, review the Padding settings and remove or readjust the padding as needed to achieve correct mobile alignment.
- What do I do if alignment issues persist when reusing fragments? Repeat the process for other columns or text components within the fragment.
Best practices:
- When designing email content for Gmail on Android devices, ensure that images and dividers use column padding rather than large, fixed margins. Gmail on Android often renders oversized images and margins incorrectly, causing layout overflow or reduced divider lines. Use a smaller image width or rely on column-based padding for consistent display.
- Always verify padding values in fragments using the breadcrumb navigation, especially when targeting mobile devices.
Related pages:
- For fragments in the Email Designer: Get started with fragments
- For fragments whose inheritance has been broken: Use visual fragments
Personas:
- marketer: Can select a column of a structure component with Select a column and set its vertical alignment to Top, Middle or Bottom under Alignment. Can define the padding for all sides under Padding, or select Different padding for each side to fine tune the padding. Can remove or readjust the Padding settings of each parent structure or column of a fragment in the Styles tab. Where: “Intents”.
Onboarding:
- Level: Beginner, Intermediate
- First minimal step: Select the structure component directly in the email or using the Navigation tree available in the left-hand menu.