Skip to main content

Style page builder elements with CSS

This article shows how to add custom CSS code to change how your page builder pages look. This feature is for platform admins.

Steps to add custom CSS​

  1. In your platform dashboard, click Pages.

  2. Go to the Advanced Settings page.

    The custom CSS page in the pages menu

  3. Type your code in the Custom CSS Code box.

  4. Click Save Changes to apply the code.

    The custom CSS code box with the Save Changes button

Note

The code applies only to page builder pages, not to the default home page or other system pages.

warning

You can save the code only if your subscription plan includes this feature, or if your platform is in its trial period.

Example​

  1. Open your page in the browser, then open the developer tools (Inspect), and copy the unique id of the element you want to style, like block-EKyRzwKT.

    The browser developer tools with the unique id of an element

  2. Type the id in the code, with a # sign before it, then click Save Changes.

    #block-EKyRzwKT {
    background: #33a0fe;
    color: #fff;
    }

    The CSS code for the element in the code box with the Save Changes button

  3. This is how the element looks after the code is applied.

    The course card after its background color was changed with CSS