Pagination Element

Last Update: February 1, 2024

As part of Avada Layouts, available in Avada 7.0 and up, we created a series of Dynamic Elements that help generate content in the Content Layout Section of a Layout. These are called Layout Elements. In this document, we are looking at the Pagination Element.

In Avada 7.2, new options were added to the Pagination Element to further enhance the Element for use with the Avada WooCommerce Builder.

For privacy reasons YouTube needs your permission to be loaded.
I Accept

How To Use The Pagination Element

The Pagination Element allows you to place pagination anywhere in a Content or Page Title Bar Layout Section, in any Single Post, Portfolio, WooCommerce Product, or Custom Post Type Layout. The Pagination Element is unique, in that if needed, it can be placed twice in a Layout Section, whereas many of the other Layout Elements can only be placed once. This facilitatesthe common layout of having pagination both above and below the content.

When you go to add an Element in a Content Layout Section, the Element dialog opens in a new tab called Layout Elements. This is where you will find the Pagination Element.

The Pagination Element can be placed anywhere in you Layout Section, but in most cases you will want to place the Element at the very top, and/or the very bottom of the Content Element. There is a range of options with the element about how it displays. See the options panels below for specific details on that. This element does not include the Load More or Infinite Scroll options, as these are found in the Blog and Portfolio Elements. This Element is designed for Single Post, Portfolio and Product Layouts.

See below, for an example of the Pagination Element in a Single Post Layout, displaying just below the Content Element on the Taxi Demo. Follow this link for a live example.

Example of the Pagination Element

Layout Styles

With Avada 7.2, new Layouts styles were introduced to the Pagination Element. These allow for more suitable product pagination in the Avada WooCommerc Builder, but can also be useful in posts and portfolios and anbywhere else pagination is required.

Text

This is the traditional style of pagination, typically placed at the top and/or bottom of the post. You can place the Previous / Next links to the left, or the right, or distribute them on either aside of the column. Here, in the screenshots below, you can see the Pagination Element added below the product in a WooCommerce Product Layout.

Pagination Style - Text

Text With Preview

This is the same as the Text style of Pagination, but a preview of the next post/portfolio item/product etc. is shown upon rollover of the Previous or Next link. Both of these styles are displayed where you position them in the layout.

Pagination Style - Text With Preview

Sticky Preview

The Sticky Preview style of pagination displays a small sticky thumbnail at either edge of the screen in the middle of the viewport. You can determine the preview height and control how much of the sticky preview is displayed before hover, and when you hover, it displays fully. With this style, it doesn’t matter where the Element is placed in the Layout, as it always displays in the middle of the viewport.

Pagination Style - Sticky Preview

Element Options

Note: Please note that the displayed options screens below show ALL the available options for the element. If you have Avada’s Option Network Dependencies turned on, you will only see options relevant to your selections, and so the options screen may look somewhat different.

General

HeadingDescription
LayoutChoose the layout of the pagination element.
Preview PositionMake a selection for preview position.
Same Taxonomy TermWhether next/previous link should be in a same taxonomy term or not.
TaxonomySelect taxonomy to get next/previous link from.
Swap Post OrderWhether or not next/previous buttons should invert the post order logic.
MarginIn pixels or percentage, ex: 10px or 10%.
Element VisibilityChoose to show or hide the element on small, medium or large screens. You can choose more than one at a time.
CSS ClassAdd a class to the wrapping HTML element.
CSS IDAdd an ID to the wrapping HTML element.

Design

HeadingDescription
HeightControls the pagination section height. In pixels.
Text AlignmentMake a selection for pagination text alignment.
Text Font SizeControls the font size for the pagination text. Enter value including CSS unit (px, em, rem), ex: 10px
Text ColorControls the text color of the pagination section text.
Separator Border SizeControls the border size of the separators. In pixels.
Separator Border ColorControls the border color of the separators.
Z IndexValue for preview section's z-index CSS property, can be both positive or negative.
Preview HeightControls the preview section height. In pixels.
Preview WidthControls the preview section width. In pixels.
Preview Visible Area WidthControls the preview section width that is displayed before hover. In pixels.
Preview Background ColorControls the background color of the pagination section.
Preview Text ColorControls the text color of the preview section text.
Preview Text Font SizeControls the font size for the preview text. Enter value including CSS unit (px, em, rem), ex: 10px
Box ShadowSet to "Yes" to enable box shadows.
Box Shadow PositionSet the vertical and horizontal position of the box shadow. Positive values put the shadow below and right of the box, negative values put it above and left of the box. In pixels, ex. 5px.
Box Shadow Blur RadiusSet the blur radius of the box shadow. In pixels.
Box Shadow Spread RadiusSet the spread radius of the box shadow. A positive value increases the size of the shadow, a negative value decreases the size of the shadow. In pixels.
Box Shadow ColorControls the color of the box shadow.

Extras

HeadingDescription
Animation TypeSelect the type of animation to use on the element.
Direction of AnimationSelect the incoming direction for the animation.
Animation ColorSelect the color of the animation
Speed of AnimationType in speed of animation in seconds (0.1 - 5).
Animation DelaySelect the delay time after the animation starts(0 - 5).
Offset of AnimationControls when the animation should start.