Modal

Modal

A Modal is a popup or dialog that overlays a page's content and, typically, must be interacted with in some way in order to return to the page.
Add a Modal to your design from +Add > Helpers > Modal.
Adding Elements to a Modal
A Modal consists of a transparent overlay and a container div. Any element can be inserted into the container div.
To insert an element into a Modal, select the Modal and then choose any element from the +Add menu. You can also drag and drop elements into the Modal just like any other container.
Modal Styling & Configuration Options
In-editor behavior
This setting determines how the Modal is previewed in the builder.

Inline - The Modal will be displayed inline with the rest of the design's content.
Live preview - The Modal will appear as if it were live, overlaying the design's content.
Hidden - The Modal will be hidden completely in the Builder preview.

Trigger
This setting determines the condition that causes the Modal to appear.

After number of clicks - Specify a number of clicks after which the Modal will be shown.
After number of page views - Specify a number of page views after which the Modal will be shown.
On page scroll - Specify whether the Modal is shown after the user scrolls down a specific percentage of the page, or when the user scrolls up.
After specified time - Specify a number of seconds after which the Modal will be shown.
After time inactive - Specify a number of seconds of user inactivity after which the Modal will be shown.
On exit intent - Show the Modal when the user attempts to leave the page.
On scroll to element - Specify an element that will trigger the Modal when the element comes in to the viewport. Use the Choose button and then click on the element that should trigger the Modal, or type the element's ID in the field.
User clicks element - Specify an element that will trigger the Modal when the element is clicked. Use the Choose button and then click on the element that should trigger the Modal, or type the element's ID in the field.

You can also specify the frequency with which the Modal should be shown to a given user with the After Modal is Shown dropdown.

Show again on every page load - The Modal will be shown every time the page is reloaded and the given trigger occurs.
Never show again - The Modal will be shown once to a user, and then never shown to that user again.
Show again after - Specify a number of days after which the Modal will be shown to a user again.

Content Styles
The Content Styles area allows you to set the Modal's child element layout, horizontal item alignment, vertical item alignment, text color, and background color.
Modal Styles

Width - Set the overall width of the Modal container element. This defaults to %, but may be set to PX or VW by clicking the % symbol and choosing a different unit.
Backdrop Color - Set the color of the backdrop. If you want no backdrop, move the alpha slider to 0.
Modal Position - Set the position of the Modal container element.

Closing
This setting allows you to determine the closing behavior of a Modal.

Close Modal Automatically - If yes, allows you to specify a number of seconds after which the Modal will be closed automatically.
Close on ESC key - If yes, pressing the ESC key will close the Modal.
Close Modal On Backdrop Click - If yes, clicking the backdrop of the Modal will close it.
Insert Close Button - Inserts a button that, when clicked, will close the Modal.

Any element with the .oxy-close-modal class will act as a close button, allowing you to use Icons and other elements as close buttons for your Modal.
Additionally, you may use JavaScript to close the Modal via the oxyCloseModal() function. This option gives advanced users more flexibility in determining when and how a Modal is closed.

// Always use oxyCloseModal()
// after the full DOM is loaded
// ie. on the document ready event
jQuery( document ).ready( function() {
// check if the function is defined
// (we may be on a page without modals)
if( typeof oxyCloseModal !== 'undefined' ) {
// close the first open modal found
oxyCloseModal();
// close a specific modal, if found
oxyCloseModal( document.getElementById('myModal') );
}
} );

Pro Menu

Pro Menu

The Pro Menu element displays menus created via Appearance > Menus in the WordPress admin area. The Pro Menu element provides advanced styling options for dropdowns and mobile menus.
Add the Pro Menu to your page via +Add > WordPress > Pro Menu.
Desktop Menu
Desktop Dropdowns
Mobile Menu
Mobile Dropdowns
Pro Menu Styling Options
The Pro Menu can be styled via the Primary tab in the Properties Pane.

Menu

Choose the WordPress menu to display. Menus can be created via Appearance > Menus in the WordPress admin area.
Mobile Menu / Toggle Below

Choose the break point at which you would like to see the mobile menu (hamburger menu) displayed.
Desktop Menu

Orientation
Select whether you want a horizontal or vertical menu.
Typography
Full typographical controls over the Pro Menu's desktop menu items.
Spacing, Align, Border
Set the spacing between the menu items, alignment of the menu items and border radius of the menu items.
Hover & Active
Set the color and borders of hovered and active menu items. You can also control the transition duration for the hover state of menu items here.
Desktop Dropdowns

Enable Dropdown
Enable or disable child menu items.
Dropdown Border Radius
Set the border radius of the dropdown menu.
Animation Type
Select the type of animation applied when the dropdown menu enters the viewport. Animated dropdowns inherit their settings (aside from animation type) from the global Animate On Scroll settings at Manage > Settings > Global Styles > Animate On Scroll.
Box Shadow
Add a box shadow to the dropdown menu.
Dropdown Icon
Set and style the dropdown icon.
Dropdown Colors
Set the background, hover background, link and link hover colors.
Dropdown Child Links
Style the typography of menu links within the dropdown.
Mobile Menu

Open Icon Layout
Set the icon and text that will be shown when the mobile menu is closed. Change the icon size, text, colour, padding colour, border radius and transition duration.
Open Icon Typography
If you have set Icon Text in the Open Icon Layout tab then you can style the typography here.
Close Icon Layout
Set the icon and text that will be shown when the mobile menu is open. Change the icon size, text, position, colour, padding colour, border radius and transition duration.
Close Icon Typography
If you have set Icon Text in the Close Icon Layout tab then you can style the typography here.
Menu Styles
Off Canvas: Select if you want the mobile menu to animate in from off-canvas. Set the animation type and duration.
Style the mobile menu background colour, link colour, link padding, container padding and text alignment.
Typography
Style the mobile menu typography.
Mobile Dropdowns

Include Dropdown Links In Responsive Menu

Hide: Dropdown links will not be shown when the Pro Menu is in mobile mode.
Show in line: Dropdown links will be shown as regular menu items, listed in line with top-level menu items, when the Pro Menu is in mobile mode.
Toggle: Clicking the dropdown icon on a top-level menu item that has a child dropdown will cause the dropdown to expand or "toggle" open.

When Toggle is selected, you'll also have the  ability to set the toggle animation duration, the dropdown icon size, the dropdown background color, and the top border of the dropdown container.
Presets

Select a preset to use a pre-styled menu.
Export and import menus using their JSON code.
To save your existing menu as a preset so that it can be used elsewhere on your site, enter a name in the box and click "Save".
Use the "Clear Current Styles" button to clear the styles assigned to the current selector for the Pro Menu element.

Progress Bar

Progress Bar

The Progress Bar element displays a progress bar. You can control its display, typography, and animation settings.
Add a Progress Bar element to your page from Add+ -> Helpers -> Progress Bar.
Progress Amount
To change the progress bar percentage, simply slide the circle along the sliding bar under Progress.
Progress Bar

Bar Color - sets the color of the progress bar covered by the Progress percentage.
Background Color - sets the color not covered by the Progress percentage.
Bar Padding - sets the padding on all sides within the progress bar.
Stripes - set this to true to display diagonal stripes within the Progress Bar element.

Animation
The Progress Bar animation settings can be controlled in this section. By default, all animation settings are set to false. The following parameters can be modified to animate the progress bar and its stripes, if displayed:

Animation Stripes - To animate stripes, set this to true.
Animation Width - To animate the growth of the progress bar up to the set percentage, set this to true.
Animation Stripes Duration - This parameter determines how long it takes for two stripes to move across the progress bar, in seconds.
Animation Width Duration - This parameter determines how long it takes the progress bar to reach the set percentage, in seconds.

Typography
In this tab you can control the typography for two sets of text within the Progress Bar element: Left Text and Right Text.
Each set has identical typography settings, which are the same as those found at Advanced > Typography.

Repeater

Repeater

The Repeater element allows you to visually build loops in Oxygen using a post query or an ACF repeater as your data source.
Add a Repeater to your page from +Add -> Helpers -> Repeater.
QUERY
The query selects which posts will be displayed by the Repeater element.
Default
The default query is generated by WordPress based on the URL you visit. Visiting the URL for your blog post archive will make WordPress generate a query that will return your blog posts. Visiting the URL for a real estate listing will make WordPress generate a query that will return that real estate listing.
This is all done automatically by WordPress.
You can override the default query by choosing custom or manual.
Custom

Post Type - choose the post types returned by the query, or manually specify post IDs from the Posts post type (if you want to select posts from another post type via their ID, you will need to use a Manual query)
Filtering - exclude posts that don't match the specified author or taxonomies
Order - the order the posts are displayed in - alphabetical, by date, etc.
Count - the number of posts to return

Manual
For complete control over the posts returned by query, you can manually specify WP_Query parameters.

WP_Query


Manual Query tutorial: https://wpdevdesign.com/how-to-generate-the-query-string-for-easy-posts-in-oxygen/.
Use ACF Repeater
If your post type is using an ACF repeater, select the "ACF Repeater" box which will then show the available ACF field groups.
LAYOUT
Select "Stack Child Elements Vertically" for a vertical layout and "Stack Child Elements Horizontally" to have the repeated fields on the same row.
PAGINATION

Alignment - choose where the pagination is positioned
Gap - define the number of pages shown before a gap is replaced with ellipsis (...)
Range - define the number of pages to show before and after the current page
Previous Link Text - set the text to be used instead of "Previous"
Next Link Text - set the text to be used instead of "Next"
Link Hover Transition Duration - set the number of seconds you want to use for the hover transition (for example, 1s would be one second)
Font Size - set the pagination font size
Text Color - set the active page color
Link Color - set the link color
Link Hover Color - set the link hover color

Container Style

Size & Spacing - set the size, padding & margin
Children Layout - change the orientation of the pagination
Borders - add a border around the pagination
Background - control the pagination background

Links Style

Link Size & Spacing - control the size, padding & margin of the links
Active Link Size & Spacing - control the size, padding & margin of the active item
Link Background - add a background to the links
Active Link Background - add a background to the active link
Link Borders - add borders to the individual links
Active Link Borders - add a border to the active link

Links Hover Style

Link Hover Size & Spacing - control the size, padding & margin of the links on hover
Active Link Hover Size & Spacing - control the size, padding & margin of the active item on hover
Link Hover Background - add a background to the links on hover
Active Link Hover Background - add a background to the active link on hover
Link Hover Borders - add borders to the individual links on hover
Active Link Hover Borders - add a border to the active link on hover

PREVIEW RENDER

Normal Mode - Shows all the posts in the builder that are fetched by the query
Single Mode - Shows a single post in the builder

USING THE REPEATER
The Repeater contains a div element, which can be styled to create both horizontal and vertical layouts. You can add elements to the Repeater div to build your layout. These elements will be repeated for each post returned by your query.
To create a 3 column layout, add the Columns element to your Repeater div by clicking +Add -> Basics -> Columns and set the number of columns required. Add the post title by clicking one of the column divs and adding a Heading element by clicking +Add > Basics > Heading. Double click the heading and select Insert Data -> Post > Title. This will dynamically insert the post title for every row in your repeater. You can repeat this process for other elements (such as Images and Content) to build your repeater.

Search Form

Search Form

The Search Form element displays the WordPress search form.
Add a Search Form element to your page from Add+ > WordPress > Search Form.
Form Fields

Border Color - set the color of the field borders.
Text Color - set the color of text typed into the fields.
Border Radius - set the border radius of the fields.

Submit Button

Background Color - set the color of the submit button.
Text Color - set the color of text within the submit button.

Style Output 
If Selector Detector is enabled, the Style Output button will appear, allowing for further customization of the styles of the Search Form.

Shape Dividers

Shape Dividers

Shape Dividers are a special type of element that allow you to insert inline SVG shapes along the top and bottom edges of Sections.
Inserting A Shape Divider
Shape Dividers can be inserted by selecting a Section, and clicking Add Shape Divider at the bottom of the Primary tab of the Properties Pane.

Manipulating Shape Dividers
Shape Dividers are inserted as individual elements, but cannot be selected for editing in the builder preview like other elements. This is because of the special CSS required to position them in the proper locations within their parent Section. Instead, to edit a Shape Divider, you must navigate to the Section in the Structure Pane and select the Shape Divider as you would any other element. The Properties Pane will then be populated with the styling options available for Shape Dividers.

Divider Shape - Choose from 33 built-in SVG shapes.
Custom Shape - Paste in an SVG from an external source, see Using Custom SVG Shapes below.
Color - Set the color of the Shape Divider.
Position - Set the Shape Divider to be along the top or bottom edge of the Section.
Flip Horizontally - Flip the entire Shape Divider horizontally.
Height - Set the height of the Shape Divider.
Width - Set the width of the Shape Divider. Cannot be less than 100%.
Center Horizontally - Normally the Shape Divider starts at the left edge of the viewport and stretches to the right. You can change the way your Shape Divider looks by setting it to a large width, like 200%, and then centering it horizontally to maintain symmetry.
Z-Index - Set the z-index of the Shape Divider. Used when layering other elements on top of or behind Shape Dividers.

Because of the way Oxygen's Shape Dividers are engineered, you can insert an unlimited number of Shape Dividers and layer them in interesting ways by manipulating the dimensions, opacity, color, and z-index for each one.
Using Custom SVG Shapes
The Custom Shape field allows you to paste in SVGs from other sources. There are a few requirements in order for external SVGs to work as expected as an Oxygen Shape Divider:

The element must have preserveAspectRatio="none" as an attribute.
Any fill attributes in the code must have the value of "currentColor" - this allows them to inherit the color set for the Shape Divider in the Properties Pane.

This is an example of an external SVG that will work perfectly as an Oxygen Shape Divider: