Flip Box

The Flip Box widget allows you to create engaging content sections with two distinct sides that reveal on hover using various animation effects. You can configure graphics, text, and an optional button for both the front and back, along with detailed styling controls for each element.

Content tab

Configure the main settings and content for both sides of the Flip Box.

Flip Box widget Content tab - Front

Front Side Content

Graphic Element

Choose whether to display an Icon, an Image, or no graphic element on the front side.

Choose Image (Image Element)

Select or upload the image to display when 'Image' is chosen as the graphic element.

  • Alt: Add alternative text to improve accessibility and SEO.
  • Title: Set a title attribute for a better user experience.
  • Loading: Choose between "lazy" or "eager" loading for performance optimization.
Icon (Icon Element)

Select an icon from the library or upload an SVG when 'Icon' is chosen as the graphic element.

View (Icon Element)

Set the display style for the icon: Default, Stacked, or Framed.

Shape (Icon Element - Stacked/Framed)

Choose the shape (Circle or Square) for the background if the icon view is Stacked or Framed.

Title & Description

Enter the main heading and descriptive text for the front side of the box.

Title Display

Adjust the predefined size display for the front side title (Small, Medium, Large, etc.).

Title HTML Tag

Select the appropriate HTML tag (H1-H6, div, span, p) for the front side title.

Flip Box widget Content tab - Back

Back Side Content

Graphic Element

Choose whether to display an Icon, an Image, or no graphic element on the back side.

Choose Image (Image Element)

Select or upload the image to display when 'Image' is chosen as the graphic element.

  • Alt: Add alternative text to improve accessibility and SEO.
  • Title: Set a title attribute for a better user experience.
  • Loading: Choose between "lazy" or "eager" loading for performance optimization.
Icon (Icon Element)

Select an icon from the library or upload an SVG when 'Icon' is chosen as the graphic element.

View (Icon Element)

Set the display style for the icon: Default, Stacked, or Framed.

Shape (Icon Element - Stacked/Framed)

Choose the shape (Circle or Square) for the background if the icon view is Stacked or Framed.

Title & Description

Enter the main heading and descriptive text for the back side of the box.

Title Display

Adjust the predefined size display for the back side title (Small, Medium, Large, etc.).

Title HTML Tag

Select the appropriate HTML tag (H1-H6, div, span, p) for the back side title.

Button

Type

Choose a button style from widget default, default, primary, or secondary.

Button Text

Define the text displayed on the button located on the back side.

Link

Set the URL the button or the entire box should link to.

Apply Link On

Choose whether the link applies only to the button or to the entire flip box.

Size

Adjust the size of the button from Extra Small (XS) to Extra Large (XL).

Icon

Choose an icon to display within the button.

Icon Position

Set the icon's placement (Before or After) relative to the button text.

Icon Spacing

Define the spacing between the icon and text within the button.

Style tab

Customize the appearance and design of the Flip Box and its elements.

Flip Box widget Style tab - Flip Box

Flip Box

Height

Set the overall height of the flip box container for different devices.

Border Radius

Adjust the roundness of the corners for both the front and back sides.

Hover Animation

Flip Effect

Choose the animation style used for the transition between front and back (e.g., Flip, Slide, Zoom).

Flip Direction

Select the direction the animation moves (e.g., Left, Right, Up, Down) for applicable effects.

3D Depth

Enable a perspective effect to give the 'Flip' animation a sense of three-dimensional depth.

Flip Box widget Style tab - Front Side

Box

Background

Set the background type (Classic color/image or Gradient) for the front side.

Background Overlay

Apply a color overlay on top of the front side background image.

Alignment

Set the horizontal alignment (Left, Center, Right) for the content on the front side.

Vertical Position

Adjust the vertical alignment (Top, Middle, Bottom) of the content on the front side.

Padding

Control the inner spacing around the content on the front side.

Border

Define the border style, width, and color for the front side.

Box Shadow

Apply a shadow effect around the front side of the box.

Icon

Styles apply if 'Graphic Element' in the Content tab (Front) is set to 'Icon'.

Spacing

Adjust the space below the icon on the front side.

Primary Color

Set the main color of the icon or its background/border depending on the View.

Secondary Color (Stacked/Framed View)

Set the icon's color (Stacked view) or background color (Framed view).

Icon Size

Control the size of the icon on the front side.

Icon Padding (Stacked/Framed View)

Adjust the padding around the icon within its frame or stack.

Icon Rotate

Rotate the icon on the front side by a specific degree.

Border Radius (Stacked/Framed View)

Control the roundness of the icon's background shape.

Image

Styles apply if 'Graphic Element' in the Content tab (Front) is set to 'Image'.

Spacing

Adjust the space below the image on the front side.

Size (%)

Control the width of the image on the front side as a percentage.

Opacity

Set the transparency level of the image on the front side.

Border

Define the border style, width, and color for the image on the front side.

Border Radius

Adjust the roundness of the corners for the image on the front side.

Content

Title
Spacing

Adjust the space below the title on the front side.

Color

Set the text color for the title on the front side.

Typography

Control the font settings for the title on the front side.

Text Stroke

Apply an outline effect to the title text on the front side.

Description
Color

Set the text color for the description on the front side.

Typography

Control the font settings for the description on the front side.

Flip Box widget Style tab - Back Side

Box

Background

Set the background type (Classic color/image or Gradient) for the back side.

Background Overlay

Apply a color overlay on top of the back side background image.

Alignment

Set the horizontal alignment (Left, Center, Right) for the content on the back side.

Vertical Position

Adjust the vertical alignment (Top, Middle, Bottom) of the content on the back side.

Padding

Control the inner spacing around the content on the back side.

Border

Define the border style, width, and color for the back side.

Box Shadow

Apply a shadow effect around the back side of the box.

Image

Styles apply if 'Graphic Element' in the Content tab (Back) is set to 'Image'.

Spacing

Adjust the space below the image on the back side.

Size (%)

Control the width of the image on the back side as a percentage.

Opacity

Set the transparency level of the image on the back side.

Border

Define the border style, width, and color for the image on the back side.

Border Radius

Adjust the roundness of the corners for the image on the back side.

Icon

Styles apply if 'Graphic Element' in the Content tab (Back) is set to 'Icon'.

Spacing

Adjust the space below the icon on the back side.

Primary Color

Set the main color of the icon or its background/border depending on the View.

Secondary Color (Stacked/Framed View)

Set the icon's color (Stacked view) or background color (Framed view).

Icon Size

Control the size of the icon on the back side.

Icon Padding (Stacked/Framed View)

Adjust the padding around the icon within its frame or stack.

Icon Rotate

Rotate the icon on the back side by a specific degree.

Border Radius (Stacked/Framed View)

Control the roundness of the icon's background shape.

Content

Title
Spacing

Adjust the space below the title on the back side.

Color

Set the text color for the title on the back side.

Typography

Control the font settings for the title on the back side.

Text Stroke

Apply an outline effect to the title text on the back side.

Description
Spacing

Adjust the space between the description and the button (if present) on the back side.

Color

Set the text color for the description on the back side.

Typography

Control the font settings for the description on the back side.

Flip Box widget Style tab - Button

These styles apply only if a Button Text is entered in the Content tab for the Back side.

Button

Typography

Adjust the font family, size, weight, and other text properties for the button.

Text Shadow

Apply a shadow effect to the button's text.

Text Color (Normal & Hover)

Set the color of the button text for both its default (Normal) and mouse-over (Hover) states.

Background Color (Normal & Hover)

Define the button's background color for both Normal and Hover states.

Border Color (Normal & Hover)

Set the color of the button's border for Normal and Hover states.

Border Width

Control the thickness of the button's border.

Border Radius

Adjust the roundness of the button's corners.

Box Shadow

Add a shadow effect around the entire button element.

Padding

Define the spacing between the button's content (text and icon) and its border.

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