The Settings tab defines the type of the Divi Area and decides, which pages or requests include the Divi Area.
Set user-roles and page-rules to generate smaller pages that load faster.
Define the type of Area to create from the four layout types (Popup, Fly-In, Hover, Inline). Each type has slightly different options and behaves differently on the front end.
For all Areas
Choose the type of Area you want to design. Each Area type has distinct features, behaves a little differently, and has other use-cases. You can find more about the differences in the Overview of Layout Types .
Static Inline Area
Only for: Inline Areas
An Inline Area can be made static or dynamic (default). Generally, static Inline Areas are better for performance, as the plugin attempts to process them on the server and the resulting page can be cached. Static Inline Areas might impact your SEO, as their content is visible in the HTML code like normal page content.
When using a static Inline Area, you can use the user-role or page-rule options to decide who can see the Area – for example, you can show a login form to all guests.
For all Areas
Define, which users can see the Area.
User Role Limitation
By default, any Area is displayed to all users. If your Area should be restricted by the user role, enable this option.
After enabling user role limitation you can pick the user roles that will see the Area.
The special role “Any logged in user” matches any user that has a valid session, regardless of the actual user’s role. When this option is selected, you cannot choose other roles, as that would be redundant or result in the same behavior as disabling the user role limitation.
The user role limitation is processed by the server and impacts the generated HTML code. Keep this in mind when you want to trigger an Area via the JS API – you can only trigger Areas that are actually present in the HTML code!
For all Areas
Define, which pages or page-types will load the Area.
By default, an Area is loaded on all pages/requests. In many cases, you want to restrict an Area to a list of pages, posts, or post-types that might use an Area.
Select the exact pages that will load the Area using the checkboxes. The page rule selector works very similar like Divis theme builder (and in fact uses Divis internal functions to generate the list):
Include an Area on a page, by checking the green (left) checkbox and exclude the Area from a post by checking the red (right) checkbox. In most cases, you can directly select the pages that should load an Area, but there are some advanced use-cases that you can implement by combining include/exclude options.
For example, include an Area for “All Posts” but exclude it from “Posts with Specific Tag: Tutorial”.
The page rule limitation is processed by the server and impacts the generated HTML code. Keep this in mind when you want to trigger an Area via the JS API – you can only trigger Areas that are actually present in the HTML code!
Only for: inline Areas
Define the place on the page where an Inline Area is displayed.
Defines the place where the Inline Area appears on the page. You can choose one of the predefined theme-locations or use the “CSS Selector” location to specify a custom location.
- Specify a custom location using the input field “CSS Selector” below.
- Target the entire theme header; also works with custom Theme Builder headers.
- Target the main menu; also works with Slide-In or Fullscreen headers.
- Target the post content of single pages. This location has no effect on archive pages.
- Target the comment form.
- Target the entire theme footer; also works with custom Theme Builder footers.
Specify where the Inline Area should be displayed relative to the Location. Possible values are Before, After or Replace.
Before– Display the Inline Area before (i.e., above) the specified location.
After– Display the Inline Area after (i.e., below) the specified location.
Replace– The Inline Area replaces the content at the specified location.
For Area Location: CSS Selector
Here you can enter a custom CSS selector that specifies the location of the Area. It’s possible to enter multiple selectors that are separated either by newline or a comma – notice, that the Inline Area will only be displayed once: At the first selector that is present on the page. Using multiple selectors is useful to specify different positions depending on the page/post/post-type.
If possible, use a “simple selector” that targets a single CSS class or ID like
The Inline Area is either positioned outside the location element (e.g., before the opening tag of the main menu) or it completely replaces the location element. That means, the Inline Area will not inherit CSS rules of the target location.
When you create a dynamic Inline Area that replaces an element, you can add a close button to the Area. Once the Area is closed, the original content is restored.