Skip to content

Hover Boxes Using ACF/Posts

This page demonstrates basic ways to mimic the UABB Interactive Banner boxes either through ACF repeaters or the Posts module. The examples make use of CSS custom properties --*, variables var(), and calc() . If you're unfamiliar with those concepts, links are provided to relevant documentation and articles.

Global CSS variables are declared in :root, but you can also declare them locally if you want.

  • --title-height Set this value to accommodate the tallest title among the boxes.
  • --box-size You can remove this and manually set the boxes'  height and width if you'd like.
Contents
    Add a header to begin generating the table of contents

    Using ACF Repeaters

    I am Box #1

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

    And I am Box #2

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

    You can call me Box #3

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

    I'm Box #4 and I have multiple lines

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.

    While I'm Box #5 and I have even more lines

    Lorem Ipsum is simply dummy text of the printing and typesetting industry.

    And I'm Box #6 with the most number of lines available, I think?

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting.

    Last but not the least, I'm Box #7

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it.

    Using ACF Repeaters - Carousel

    Using the Posts Module

    Shopify Buy Button

    Quickly integrate Shopify products with WordPress websites with a built-in customizable Shopify feature.

    One Image Centered, Text Around

    Centered image with text around it

    Pre-styled Masonry Using the Posts Module

    Masonry layout for a listing of categories/pages/post types. Pre-styled.

    Full-width Posts Slider

    A responsive full-height and full-width posts slider.

    Arrow on Button Hover

    How to add an arrow or icon after hovering on a button.

    Posts Module With Pages

    Using the posts module to list specific pages (post type alternative)

    Lists with Connectors

    How to make vertical lists with connectors using repeaters.

    Image center and text on the outer sides

    Module with the images centered and text wrapped around it

    Testimonials Slider with Advanced Posts

    Testimonials slider with Advanced Posts (1, 2, or 3 items at a time)

    Scroll To Top