Fancy Box
Studio work, sketch to handover.
Light, material and detail.
Planning, feasibility, cost.
The Fancy Box is a linked content tile: a background image or color, an optional icon, a short block of text, and a hover effect that ties them together. Six styles cover the usual treatments: a color bar that rises from the bottom, a color wash on hover, a parallax image, and a variant that keeps its description hidden until the visitor hovers.
The whole box is clickable, which makes it the standard building block for a grid of services or destinations.
Reach for it when you need:
- A grid of services, features or categories
- Call-to-action tiles that link into deeper pages
- Portfolio or destination cards
- Any repeating tile where the image, a heading and a link belong together
Boxes in the same row should share the same Minimum Height and image aspect ratio. Mismatched values are the usual cause of a grid whose tiles do not line up.
Usage
- Add the Element: In the Salient WPBakery page builder, click Add Element and choose Fancy Box.
- Choose a Style: Pick the hover treatment first. It decides which of the remaining options apply.
- Add the Visuals: Select a background image, or an icon from one of the icon libraries, or both.
- Write the Content: Fill in Box Content, plus the text that appears only on hover if you picked one of the hover styles.
- Link the Box: Add the destination URL and screen-reader text describing where the box goes.
Options
Style Choice
The layout and hover behavior. This is the first thing to set, because it decides which of the options below apply.
| Style | Behavior |
|---|---|
| Bottom Color Bar Hover Effect | Default. A color bar rises from the bottom edge on hover. |
| Color Box Hover Effect | The box fills with color on hover. |
| Color Box Basic | A flat color box with no hover fill. |
| Parallax Hover Effect | The background image shifts against the content as the cursor moves. |
| Description on Hover | The description stays hidden until the visitor hovers. |
| Image Above Text | The image sits above the text, with an underlined link below it. |
The hover styles. Point at one to play it:
- Icon library Choice Which icon set the box draws from: Font Awesome, Iconsmind, Linea, Steadysets, Linecons, Additional Brands, Custom (your own image), or None.
- Icon Choice Picks the icon from the selected library.
- Custom Icon Image Media The image used as the icon when the library is set to Custom.
- Icon Size Number The icon size in pixels. Enter the number only.
- Image Media The box's background image, chosen from the media library.
- Image size Text Optionally load a specific registered WordPress image size instead of the default.
- Image Aspect Ratio Choice Crops the image to a fixed ratio: 1:1 (default), 16:9, 3:2, 4:3 or 4:5. Setting one ratio across a row is what keeps a grid even when the source images have different dimensions.
- Box Content Text The main content of the box, usually a heading and a sentence.
- Box Hover Content Text Text shown only on hover, for the Description on Hover style.
- Link URL Text Where the box links to. The entire box becomes clickable, so a visitor can click anywhere inside it.
- Open Link In New Tab Toggle Opens the destination in a new browser tab.
- Link Text Text The label for the box's link.
- Link Screen Reader Text Text Describes the link for screen readers. Important here, because a box whose visible link text is "Read more" tells a screen-reader user nothing about the destination.
- Minimum Height NumberResponsive. Set a different value for desktop, tablet and phone. The minimum box height, in pixels. Enter the number only.
- Box Color Color The box color, taken from your theme accent colors.
- Custom Box Color Color A one-off color outside the global palette.
- Hover Color Choice The color the box moves to on hover.
- Content Alignment Choice Aligns the content Left, Center or Right. For the parallax style, this instead positions content at the Top, Middle or Bottom.
- Overlay Color Color For the parallax style, the color laid over the background image. Left blank it defaults to dark gray.
- Overlay Color Opacity / Hover Opacity How strong that overlay is at rest (default
0.6) and on hover (default0.2). The gap between the two values is what creates the "image brightens on hover" effect. - Add Border Toggle Adds a minimal border so the box's area is visible before anyone hovers it. Worth enabling on the color-box styles, where an un-hovered box can otherwise be invisible against the page.
- Background Hover Animation Choice For the Description on Hover style, how the background moves: Long Zoom, Short Zoom or None.
- Border Radius Choice Corner roundness: Default, 5px, 10px or None.
- Image Loading Choice Default, Skip Lazy Load or Lazy Load. Use Skip Lazy Load for boxes in the first screen so their images are not deferred.
- Enable Animation Toggle Turns on an entrance animation as the box scrolls into view.
- Animation Choice The entrance style: Fade In, Fade In From Left / Right / Bottom / Top, Grow In, Flip In Horizontal, Flip In Vertical or None.
- Animation Delay Number A delay in milliseconds, for example
150. Give each box in a row a slightly larger delay than the last to stagger them in rather than having the whole row appear at once.