Version:

    Using the section components

    The UIKit is based on page sections. These are full width sections that you stack on top of each other to create your page. The guide below shows you how to use the basic page sections. These are ones that don't require any additional component to be nested within them.

    Adding section components to your page

    You can add sections to your page using the back-end layout canvas or the front-end visual page builder. In both interfaces, simply drag the sections onto the page, one above the other.

    Editing the content of the sections

    Each section has a Content tab. Within it are the fields that allow you to change the content of the section. The only content that is not included on the Content tab is background image. This is located on the Layout and style tab as it is considered a style. The visual below shows the Content tab and content fields on the Text and Media section.

    Changing the appearance of a section

    Each sections includes a Layout and style tab. Within this, there are common settings like Background color, Background image and Padding Top and Bottom that are available on most sections. There are also settings that are specific to the section to adjust its appearance. You will need to become familiar with the options available within each section component. The visuals below show the Layout and Style tab of the Text and media section. Within this, you can change the width of the media in relation to the text and which side of the text the media is displayed.

    Adjusting the space (padding) between the sections

    When you stack the sections on top of each other they will have some padding on the top and the bottom of the section. This padding is required if you intend to separate the sections visually using a background color. The visual below shows why the padding is needed when a background color has been applied to the second section.

    If you don't intend to separate the sections using a background color, you should remove the padding on the top of each section that follows another. This is to prevent there from being double padding and the space between two sections looking too big. The visual below shows two sections where the second section has no padding on the top.

    To remove the padding from the top of a section:

    1. Open its settings.
    2. Go to the Layout and style tab.
    3. Locate the Padding top field.
    4. Select None and click Apply.

    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.