Pagination

The Pagination widget adds navigation controls to product listings, allowing users to browse through multiple pages of products. It offers different types like "Default" numbered pages, a "Load More" button, or "Infinite Scroll," with options for classic list or button-style skins and extensive styling for all elements.

Note: This widget dynamically displays pagination based on the current product listing (e.g., on a category page or search results page). It will only be visible if there are multiple pages of products to navigate.

Content tab

Configure the type, skin, and content of the pagination controls.

Pagination widget Content tab - Pagination

General Settings

Type

Choose the pagination behavior: Default (numbered pages), Load More (button to load next set), or Infinite Scroll (loads next set automatically on scroll).

Skin

Select the visual style for the pagination: Classic (text links/icons) or Button.

Default Pagination Type

Options apply when 'Type' is 'Default'.

Navigation

Choose which elements to display for default pagination: Arrows & Pages, Arrows only, or Pages only.

Alignment (Classic Skin)

Align the pagination elements horizontally (Left, Center, Right) when using 'Classic' skin and showing page numbers.

Button Skin / Load More & Infinite Scroll Types

The following options primarily apply when 'Skin' is 'Button', or when 'Type' is 'Load More' or 'Infinite Scroll'.

Button Type (Button Skin)

Select a predefined style theme for the pagination buttons (Default, Primary, Secondary, etc.) when 'Skin' is 'Button'.

Text (Load More/Infinite Scroll)

Enter the text for the 'Load More' button or the 'Loading' message for Infinite Scroll.

Alignment (Button Skin)

Align the button(s) horizontally (Left, Center, Right, Justified) when using 'Button' skin.

Size (Button Skin)

Adjust the size of the pagination buttons (XS to XL) when 'Skin' is 'Button'.

Icons (Load More / Infinite Scroll)

Icon (Load More)

Select an icon to display within the 'Load More' button.

Loading Icon (Load More/Infinite Scroll)

Select an icon to display while more items are being loaded.

Icon Position

Position the icon Before or After the text for 'Load More' or 'Infinite Scroll' (Button skin).

Icon Spacing

Control the space between the icon and text for 'Load More' or 'Infinite Scroll' (Button skin).

Icon Display (Load More/Infinite Scroll - Classic Skin)

View (Icon)

Select the display style for the 'Load More'/'Loading' icon in 'Classic' skin: Default, Stacked, or Framed.

Icon Position (Layout)

Set the position of the icon relative to the text (Top, Left, Right) in 'Classic' skin.

Pagination widget Content tab - Arrows

Options apply when 'Type' is 'Default' and Navigation includes 'Arrows'.

Previous Arrow

Previous Text

Enter custom text for the 'Previous' navigation arrow/button (e.g., "« Prev").

Previous Icon

Select an icon for the 'Previous' navigation arrow/button.

Icon Position (Previous)

Position the icon Before or After the 'Previous' text.

Next Arrow

Next Text

Enter custom text for the 'Next' navigation arrow/button (e.g., "Next »").

Next Icon

Select an icon for the 'Next' navigation arrow/button.

Icon Position (Next)

Position the icon Before or After the 'Next' text.

General Arrow Settings

Icon Spacing (Arrows)

Control the space between the icon and text within the Previous/Next arrows/buttons.

Style tab

Customize the appearance of the pagination elements based on the selected Type and Skin.

Pagination widget Style tab - List

Styles apply when 'Type' is 'Default' and 'Skin' is 'Classic', and Navigation includes 'Pages'.

Page Numbers

Space Between

Adjust the spacing between individual page number links.

Typography

Control the font settings for the page number links.

Text Color (Current Page)

Set the text color for the current (active) page number.

Link Color (Normal & Hover)

Set the text color for page number links in their normal and hover states.

Text Shadow

Apply a shadow effect to the page number text.

Divider

Divider

Toggle the visibility of separator lines between page number links.

Style (Divider)

Choose the style of the divider line (Solid, Double, Dotted, Dashed).

Weight (Divider)

Control the thickness of the divider line.

Height (Divider)

Control the height of the divider line (for inline layout).

Color (Divider)

Set the color of the divider line.

Pagination widget Style tab - Icon (Load More/Infinite Scroll)

Styles apply to the icon for 'Load More' or 'Infinite Scroll' when 'Skin' is 'Classic'.

Icon Style

Primary Color (Normal & Hover - Load More)

Set the main color for the icon/border (Default/Framed) or background (Stacked) in normal and hover states for 'Load More'.

Secondary Color (Normal & Hover - Load More)

Set the icon's color (Stacked) or background (Framed) in normal and hover states for 'Load More'.

Primary Color (Infinite Scroll)

Set the main color for the loading icon in 'Infinite Scroll' mode.

Secondary Color (Infinite Scroll)

Set the secondary color for the loading icon in 'Infinite Scroll' mode (if applicable to view type).

Size

Adjust the size of the icon.

Padding

Control the padding around the icon when View is Stacked or Framed.

Border Width

Set the thickness of the border when View is Framed.

Border Radius

Adjust the roundness of the background/border when View is Stacked or Framed.

Pagination widget Style tab - Text (Load More/Infinite Scroll)

Styles apply to the text for 'Load More' or 'Infinite Scroll' when 'Skin' is 'Classic' and text is not empty.

Text Style

Spacing

Adjust the space between the icon and the text.

Color

Set the color of the 'Load More' or 'Loading' text.

Typography

Control the font settings for the text.

Text Stroke

Apply an outline effect to the text.

Text Shadow

Add a shadow effect to the text.

Pagination widget Style tab - Button Skin

Styles apply when 'Skin' is 'Button'. For 'Default' type, this includes page numbers and potentially arrows. For 'Load More' type, this is the main button.

Button Style

Space Between (Default Type)

Adjust the spacing between individual pagination buttons when 'Type' is 'Default'.

Typography

Control the font settings for the text on the buttons.

Text Shadow

Apply a shadow effect to the button text.

Text Color (Normal, Hover & Active)

Set the text color for buttons in their normal, hover, and active (current page/Load More) states.

Background Color (Normal, Hover & Active)

Set the background color for buttons in their normal, hover, and active states.

Border Color (Normal, Hover & Active)

Set the border color for buttons in their normal, hover, and active states.

Border Width

Control the thickness of the border around the buttons.

Border Radius

Adjust the roundness of the corners for the buttons.

Box Shadow

Apply a shadow effect to the buttons.

Padding

Define the inner spacing within the buttons.

Pagination widget Style tab - Arrows

Styles apply to Previous/Next arrows when 'Type' is 'Default' and Navigation includes 'Arrows'.

Navigation Arrows

Typography

Control the font settings for the text within the arrow links/buttons.

Text Color (Normal, Hover & Disabled)

Set the text color for arrow links/buttons in normal, hover, and disabled states.

Background Color (Normal, Hover & Disabled - Button Skin)

Set the background color for arrow buttons in normal, hover, and disabled states (Button skin).

Border Color (Normal, Hover & Disabled - Button Skin)

Set the border color for arrow buttons in normal, hover, and disabled states (Button skin).

Opacity (Disabled)

Adjust the opacity of disabled arrow links/buttons.

Border Width (Button Skin)

Control the border thickness for arrow buttons (Button skin).

Border Radius (Button Skin)

Adjust corner roundness for arrow buttons (Button skin).

Padding (Button Skin)

Define inner padding for arrow buttons (Button skin).

Advanced tab

Access advanced layout, motion, and custom CSS options.

Advanced Tab Layout
Margin

Define the external space around the widget for separation from adjacent elements.

Padding

Set the internal spacing within the widget to control the arrangement of its content.

Width

Specify the widget's width behavior: Full Width, Inline, Custom, or Calculate.

Full width
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Inline
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Custom
  • Custom Width: Set the width in pixels, percentage, or viewport width (vw).
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Calculate
  • Calc: Use calculations like 100% - 20px to dynamically define the width.
  • Min Width: Set a minimum width in pixels, percentage, or viewport width (vw).
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Order

Control the widget's order using start, end, or custom values.

Position

Choose default, absolute or fixed positioning for the widget.

Absolute
  • Horizontal Orientation: Determines the element's horizontal alignment within its nearest positioned ancestor.
  • Offset: Specifies the distance between the element and the left or right edge of its containing block.
  • Vertical Orientation: Sets the element's vertical alignment within its nearest positioned ancestor.
  • Offset: Defines the space between the element and the top or bottom edge of its containing block.
Fixed
  • Horizontal Orientation: Controls the element's horizontal alignment relative to the browser window.
  • Offset: Adjusts the distance between the element and the left or right edge of the viewport.
  • Vertical Orientation: Manages the element's vertical alignment relative to the browser window.
  • Offset: Defines the space between the element and the top or bottom edge of the viewport.
Z-index

Set the stacking order of the widget relative to other elements.

CSS ID

Assign a unique CSS ID for custom styling or interaction.

CSS Classes

Add custom CSS classes for targeted styling via external stylesheets.

Element Cache

Improves loading times by storing a static version of this element.

Advanced Tab Motion Effects
Scrolling Effects

Enhance elements with various dynamic effects triggered by the user's scrolling behavior.

  • Vertical Scroll: Configure the scroll direction, speed, and viewport range for vertical scrolling effects.
  • Horizontal Scroll: Set the scroll direction, speed, and viewport range for horizontal scrolling effects.
  • Transparency: Adjust the transparency based on the direction, level, and viewport range.
  • Blur: Apply a blur effect with customizable direction, level, and viewport range.
  • Rotate: Rotate the element using direction, speed, and viewport settings.
  • Scale: Scale the element with direction, speed, and viewport controls.
  • Apply Effects on: Choose whether to apply scrolling effects on desktop, tablet, or mobile devices.
  • Effects Relative to: Define whether the effects are relative to the default container, the viewport, or the entire page.
Mouse Effects

Enable mouse based effects for added interactivity.

  • Mouse Track: Adjust the direction and speed of the effect as the user moves the mouse across the page.
  • 3D Tilt: Enable 3D tilt effects with controllable direction and speed for a more immersive experience.
Sticky Effects

Fix elements at the top or bottom of the viewport as the user scrolls for persistent visibility.

  • Sticky on: Apply sticky effects on desktop, tablet, or mobile devices.
  • Offset: Set the offset in pixels to trigger the sticky effect after scrolling.
  • Dynamic Offset: Use a CSS selector to dynamically set the offset based on other elements on the page.
  • Effects Offset: Configure the pixel offset to control when additional effects apply.
  • Stay in Column: Choose whether the sticky element remains within its column during scrolling (yes or no).
  • Hide on Scroll: Set the offset and transition duration for hiding the sticky element when scrolling down.
Entrance Animation

Apply predefined animations to elements when they appear on screen.

  • Fading: Elements gradually fade in or out of view.
  • Revealing: Create smooth reveal effects as elements come into view.
  • Sliding & Revealing: Combine sliding motion with reveal effects.
  • Scaling & Revealing: Adjust the size of elements as they are revealed.
  • Zooming: Apply zoom in or out effects during element appearance.
  • Bouncing: Elements enter with a bouncing motion for attention-grabbing effects.
  • Sliding: Elements slide into view from different directions.
  • Rotating: Apply rotation effects as elements enter or leave the viewport.
  • Attention Seekers: Highlight elements with exaggerated, noticeable animations.
  • Specials: Unique animations for elements that require special effects.
Advanced Tab Transform
Opacity

Adjust the transparency level of the element to create fade effects during normal or hover states.

Rotate

Rotate the element along the X, Y, or Z axes for dynamic visual effects. Use deg (degrees) values or apply 3D rotation.

Offset

Shift the position of the element horizontally (X-axis) or vertically (Y-axis) to control its exact placement within the layout.

Scale

Resize the element, with the option to keep proportions (yes or no) and adjust the scale factor to enlarge or shrink the element.

Skew

Skew the element along the X and Y axes to tilt its appearance.

Flip Horizontal/Vertical

Flip the element horizontally or vertically by selecting the anchor points (X: left, center, right; Y: top, center, bottom) for precise control over the flip transformation.

Trigger by (On hover)

Choose whether the hover transformation is triggered by interaction with the widget, column, or section.

Transition Duration (On hover)

Set the time duration in milliseconds that the hover transition effect takes to complete.

Transition Delay (On hover)

Specify a delay in milliseconds before the hover transition effect begins.

Advanced Tab Background
Background Type

Select the background type: None, Classic, or Gradient.

Classic
Color
Set a solid background color to provide a consistent base for your design.
Image
Upload an image to use as the background. Additional settings include:
  • Loading: Choose whether to load the background image lazily or immediately.
  • Position: Define the image's position within the background (e.g., center, top-left).
  • Attachment: Set the background image to scroll with the page or remain fixed.
  • Repeat: Determine if the image repeats or stays single across the background area.
  • Size: Control the size of the background image, such as cover, contain, or custom dimensions.
Backdrop Filters
Apply visual filters to the background, such as blur, brightness, or contrast, enhancing its appearance.
Transition Duration (On hover)
Set the time duration in milliseconds that the hover transition effect takes to complete.
Gradient
Color
Select the primary color for the gradient background.
Location
Define the starting position of the primary color in the gradient effect.
Second Color
Select the secondary color to blend into the gradient.
Location
Set the starting point of the secondary color within the gradient.
Angle
Adjust the angle at which the gradient flows (e.g., horizontal, vertical, diagonal).
Backdrop Filters
Apply visual filters to the gradient background for added depth and effects.
Transition Duration (On hover)
Set the time duration in milliseconds that the hover transition effect takes to complete.

Advanced Tab Border
Border Type

Define the border style of the element.

Border Width

Set the thickness of the element's border.

Border Color

Define the color of the element's border.

Border Radius

Adjust the corner roundness of the element.

Box Shadow

Apply shadow effects to add depth to the element.

Advanced Tab Visibility
Responsive Visibility

Control the display of elements across different devices by selectively hiding them on desktop, tablet, or mobile.

Scheduled Visibility

Set the section's visibility based on specific schedules.

Customer Group Visibility

Control section visibility based on customer groups.

Advanced Tab Custom CSS
Custom CSS

Apply custom CSS to style the widget beyond the default settings.

Note: This requires CSS knowledge—use carefully, as incorrect syntax can impact other areas of the site.

/* For main element */
selector { 
  color: red; 
}

/* For child element */
selector .child-element { 
  margin: 10px; 
}

/* Or use any custom selector */
.my-class { 
  text-align: center; 
}

If you want to learn the basics of CSS, W3Schools is a great resource for that.

© WebshopWorks - Professional PrestaShop Addons