How to Add a Custom Cursor and Cursor Hover Effects in Bricks Builder

Zawad Alam Avatar

Custom cursor and hover effects tutorial

A custom cursor is a small detail that changes how a site feels. On a portfolio, a white circle that says “View” when it passes over a project tells visitors exactly what will happen when they click. On an agency homepage, a soft ring that trails the pointer makes the page feel built with care.

Bricks Builder does not include a dedicated custom cursor feature, so a Bricks custom cursor usually means adding CSS, writing a small JavaScript file, or using an add-on. This guide covers all three routes:

  • Method 1: Change the cursor with CSS only, site-wide or on one Element.
  • Method 2: Build a follower cursor with a hover state using CSS and JavaScript.
  • Method 3: Add a custom cursor, cursor hover labels and cursor move effects visually with BricksFly, without code.

You will also get a method comparison, hover effect ideas by page type, an accessibility checklist, and a troubleshooting table for the problems builders run into most often.

Quick Answer: To add a custom cursor in Bricks Builder, use the CSS cursor property with an image and a fallback keyword (for example cursor: url(cursor.png) 16 16, auto;) in Bricks custom CSS. For a trailing cursor or hover labels, add a small JavaScript file, or enable the BricksFly Cursor and Cursor Hover Effect Extensions and configure them in the Bricks editor without code.

What Counts as a Custom Cursor in Bricks?

“Custom cursor” covers four different effects. Knowing which one you want saves time, because each one needs a different method.

4 types of custom cursor effects in bricks builder

The four common custom cursor effects

EffectWhat the visitor seesHow to build it
Image cursorThe system pointer is replaced by a small PNG or SVGCSS only (Method 1)
Follower cursorA dot and a ring follow the pointer, often with a slight trailCSS and JavaScript (Method 2) or the BricksFly Cursor Extension (Method 3)
Hover label cursorA circle with text such as “View” or “Play” appears over cards, images or buttonsJavaScript (Method 2) or the BricksFly Cursor Hover Effect (Method 3)
Cursor move effectElements on the page shift in response to cursor movementCustom GSAP code or the BricksFly Cursor Move Effect (Method 3)

Before You Start: What You Need

The time figures are estimates for a first working version on one site, not measured benchmarks.

Method 1: Change the Bricks Cursor With CSS (No Plugin)

The CSS cursor property sets the pointer shown when the mouse is over an Element. It accepts built-in keywords such as pointer, grab and zoom-in, or a custom image followed by a required fallback keyword.

Step 1: Prepare the Cursor Image

  • Create a PNG or an SVG with a fixed width and height. MDN recommends keeping cursor images to 32 x 32 pixels. Firefox and Chrome ignore cursor images larger than 128 x 128 pixels by default.
  • Decide the hotspot, the exact pixel that clicks. For a round cursor, the hotspot is the center (16 16 on a 32 px image). For an arrow, it is the tip.
  • Upload the file to the WordPress Media Library and copy its URL.

Step 2: Add a Site-Wide Cursor in Bricks Settings

Go to Bricks > Settings > Custom code, paste the CSS below into the Custom CSS field, and save. Replace the URL with your file.

/* Site-wide custom cursor, hotspot at the center of a 32 px image */

body {

  cursor: url("/wp-content/uploads/2026/11/cursor-32.png") 16 16, auto;

}

/* Keep the pointer hand on links and buttons */

a, button, [role="button"] {

  cursor: url("/wp-content/uploads/2026/11/cursor-hover-32.png") 16 16, pointer;

}

The keyword at the end (auto or pointer) is not optional. The browser uses it if the image fails to load, and the rule is invalid without it.

Step 3: Change the Cursor on One Element Only

To change the cursor only over a gallery or a slider, select that Element in Bricks, open Style > CSS > Custom CSS, and use the %root% selector, which Bricks replaces with the Element’s own selector:

%root% {

  cursor: zoom-in;   /* built-in keyword, no image needed */

}

%root% .swiper-slide {

  cursor: grab;      /* signals that the slider can be dragged */

}
Limit of Method 1: CSS cursors are static. Animated GIFs and animated PNGs show only a still frame, and the cursor cannot trail, grow on hover, or show text. For those effects, use Method 2 or Method 3.

Method 2: Build a Follower Cursor With CSS and JavaScript

This method adds a small dot that tracks the pointer exactly and a ring that follows with a short delay. The ring grows when it passes over links, buttons, or any Element you mark with data-cursor=”hover”. The script runs only on devices with a precise pointer and switches off the trailing motion for visitors who prefer reduced motion.

Step 1: Add the CSS

Paste this into Bricks > Settings > Custom code > Custom CSS:

.cursor-dot, .cursor-ring {

  position: fixed; top: 0; left: 0;

  border-radius: 50%;

  pointer-events: none;   /* never block clicks */

  z-index: 99999;

  display: none;

}

.has-custom-cursor .cursor-dot,

.has-custom-cursor .cursor-ring { display: block; }

.cursor-dot  { width: 8px;  height: 8px;  margin: -4px 0 0 -4px;  background: #111; }

.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px;

               border: 1.5px solid #111;

               transition: width .2s, height .2s, margin .2s, background-color .2s; }

.cursor-hover .cursor-ring {

  width: 64px; height: 64px; margin: -32px 0 0 -32px;

  background-color: rgba(17, 17, 17, .08);

}

Step 2: Add the HTML and JavaScript

Paste this into the Body (footer) scripts field in the same Custom code screen:

<div class="cursor-dot" aria-hidden="true"></div>

<div class="cursor-ring" aria-hidden="true"></div>

<script>

(function () {

  var fine = window.matchMedia("(hover: hover) and (pointer: fine)").matches;

  var reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;

  var dot = document.querySelector(".cursor-dot");

  var ring = document.querySelector(".cursor-ring");

  if (!fine || !dot || !ring) return;          /* touch devices keep the normal cursor */

  var root = document.documentElement;

  root.classList.add("has-custom-cursor");

  var sel = "a, button, [data-cursor='hover']";

  var x = innerWidth / 2, y = innerHeight / 2, rx = x, ry = y;

  addEventListener("mousemove", function (e) {

    x = e.clientX; y = e.clientY;

    dot.style.transform = "translate(" + x + "px," + y + "px)";

    if (reduce) ring.style.transform = dot.style.transform;   /* no trailing */

  });

  if (!reduce) {

    (function loop() {

      rx += (x - rx) * 0.18; ry += (y - ry) * 0.18;           /* easing */

      ring.style.transform = "translate(" + rx + "px," + ry + "px)";

      requestAnimationFrame(loop);

    })();

  }

  document.addEventListener("mouseover", function (e) {

    if (e.target.closest(sel)) root.classList.add("cursor-hover");

  });

  document.addEventListener("mouseout", function (e) {

    var from = e.target.closest(sel);

    if (from && !from.contains(e.relatedTarget)) root.classList.remove("cursor-hover");

  });

})();

</script>

Step 3: Mark Extra Hover Targets in Bricks

To make the ring grow over a card that is not a link, select the card container, open Style > Attributes, and add an attribute with the name data-cursor and the value hover.

How the Code Works

  • pointer-events: none lets every click pass through the cursor layer to the link underneath.
  • The position changes through transform, which browsers can animate without recalculating the page layout.
  • The (hover: hover) and (pointer: fine) check stops the script on phones and tablets, where there is no mouse pointer to follow.
  • The prefers-reduced-motion check removes the trailing motion for visitors who have asked their system to reduce animation.
  • The script keeps the system cursor visible. Hiding it with cursor: none is possible, but if the script fails or loads late, visitors are left with no pointer at all.
Tip: On sites with both dark and light sections, add mix-blend-mode: difference; and a white color to the dot and ring. The cursor then inverts against the background and stays visible on both.

Method 3: Add a Custom Cursor and Hover Effects With BricksFly (No Code)

BricksFly is a complete Bricks Builder toolkit that helps users build modern animated websites faster with full website templates, 500+ sections, extra Elements, Extensions, and no-code GSAP animations. Three of its Extensions handle cursor work:

ExtensionGroupWhat it does
CursorGeneral ExtensionsReplaces the default cursor with custom designs and interactive cursor styles
Cursor Hover EffectGSAP ExtensionsShows a custom hover cursor, with text, color, image or video, over the Element you choose
Cursor Move EffectGSAP ExtensionsCreates motion effects that respond to the visitor’s cursor movement

All three are part of BricksFly Pro, the separate Pro plugin that works alongside the free BricksFly plugin.

Step 1: Enable the Cursor Extensions

  1. In the WordPress dashboard, click BricksFly.
  2. Open the Extensions tab.
  3. Under Effects, toggle on Cursor Hover Effect. Toggle on Cursor Move Effect if you plan to use them.
  4. Save, then open a page in the Bricks editor.
Cursor extension 1

Simplified illustration of the BricksFly Extensions tab

Step 2: Add a Cursor Hover Effect to a Card or Image

Select the Element that should trigger the effect, such as a portfolio card container. Find Cursor Hover Effect in its settings and set Enable to Yes. Then configure the options:

SettingWhat it controlsSuggested starting value
TextThe words shown inside the hover cursor“View” for projects, “Play” for videos, “Read” for posts
Text TypographyColor, font size, family, weight, letter spacing, text shadow and moreFont size 16px, weight 600
BackgroundBackground color, image or video behind the textA solid color that contrasts with the card
Width and HeightSize of the hover cursor80 and 80 (the value used in the docs)
BorderBorder type, width, color and radiusRadius 50% for a circle
Enable On EditorPreviews the effect inside the Bricks editorOn while designing
Cursor hover effect settings in bricks builder 1

Cursor Hover Effect settings and the result on a card (illustration)

Full reference: Cursor Hover Effect documentation and the Cursor Hover Effect demo page.

Step 3: Add a Site-Wide Custom Cursor

With the Cursor Extension enabled, you can replace the default cursor across the site with a custom design. Follow the Cursor documentation for the panel location and the style options available in your version.

Step 4: Add a Cursor Move Effect to Hero Visuals

Use Cursor Move Effect on decorative shapes, illustrations or product images in a hero section, so they shift slightly as the visitor moves the mouse. Apply it to two or three Elements, not the whole section, so the movement stays subtle. Setup steps are in the Cursor Move Effect documentation.

Step 5: Preview and Test

  • Preview the page on the front end, not only in the editor.
  • Move across light and dark sections to check contrast.
  • Open the page on a phone to confirm nothing breaks without a mouse.
Want hover labels without writing JavaScript? The Cursor, Cursor Hover Effect, and Cursor Move Effect Extensions are included in BricksFly Pro, along with the full GSAP animation engine.

Explore BricksFly Pro →

Which Custom Cursor Method Should You Use?

Which custom cursor method should you use

Choose the lightest method that delivers the effect

 CSS onlyCSS + JavaScriptBricksFly Extensions
Image or keyword cursorYesYesYes
Trailing follower cursorNoYesYes (Cursor)
Text label on hoverNoYes, with extra codeYes (Cursor Hover Effect, Text field)
Image or video inside hover cursorNoYes, with extra codeYes (Background image or video)
Preview in the Bricks editorPartlyNoYes (Enable On Editor)
Ongoing maintenanceVery lowYou maintain the scriptHandled by plugin updates
CostFreeFreeBricksFly Pro license

Use CSS when a branded pointer is enough. Write your own script when you need behavior no tool offers. Use BricksFly when you want hover labels, image or video cursors and move effects across many client sites without maintaining code.

Cursor Hover Effect Ideas by Page Type

Page or sectionCursor effectExample label or behavior
Portfolio gridHover label cursor“View” circle over each project card
Video sectionHover label cursor with video background“Play” over the video thumbnail
Hero sectionCursor Move EffectFloating shapes shift with the mouse
Call-to-action buttonRing that grows on hoverRing expands as the pointer reaches the button
Pricing tableHover cursor on plan cards“Choose” label over the recommended plan
Testimonials and client photosHover label cursor“Read story” over each client photo
Image sliderCSS keyword cursorgrab while hovering the slider

Accessibility, Mobile and Performance

Custom cursor checklist before publish

Run this checklist before publishing

  • Touch devices: phones and tablets have no hover state. Run follower and hover-label effects only when (hover: hover) and (pointer: fine) matches.
  • Reduced motion: honor prefers-reduced-motion: reduce by removing trailing and easing. The cursor can still change shape on hover.
  • Keep a visible pointer: some visitors rely on the system cursor size set in their operating system. Hiding it can make your site hard to use for them.
  • Clicks must pass through: the cursor layer needs pointer-events: none, or it will block links.
  • Performance: move the cursor with transform, use one requestAnimationFrame loop, and avoid large blur filters on the cursor layer. Test key pages in PageSpeed Insights after adding the effect.

Troubleshooting Custom Cursors in Bricks

ProblemLikely causeFix
Image cursor does not appearFile is too large, path is wrong, or the fallback keyword is missingUse a 32 x 32 image, check the URL, end the rule with , auto
Clicks land in the wrong spotHotspot not setAdd x and y values, such as 16 16 for a centered 32 px cursor
Custom cursor shows on phonesNo device checkWrap the effect in the (hover: hover) and (pointer: fine) check
Links stop respondingCursor layer catches the clicksAdd pointer-events: none to the cursor Elements
Cursor hides behind the header or popupsLow z-indexRaise the cursor z-index above sticky headers and popups
Cursor lags or jittersAnimating top and left, or heavy filtersAnimate transform only and remove blur or shadow effects
Effect works in preview but not liveAn optimization plugin delays or combines scriptsExclude the cursor script from delay and combine settings
BricksFly hover settings are missingExtension not enabled, or Pro not activeToggle the Extension in BricksFly > Extensions and check the Pro license

Common Mistakes to Avoid

  1. Adding a custom cursor to every page – Use it where it explains an action, such as portfolio cards or video thumbnails.
  2. Hiding the system cursor with no fallback – If the script fails, visitors lose their pointer.
  3. Using a large or detailed cursor image – Browsers ignore oversized images, and small details disappear at 32 px.
  4. Forgetting contrast -A black ring vanishes on a dark hero. Test every section or use a blend mode.
  5. Stacking effects – A follower cursor, a magnetic button and a tilt card on the same Element compete for attention.
  6. Skipping mobile and reduced-motion tests – These are the two settings most often missed before launch.

How BricksFly Helps

Custom cursor work is a good example of where a toolkit saves time. With BricksFly, you can import one of the starter templates, add a Cursor Hover Effect to its portfolio cards, set a site-wide cursor with the Cursor Extension, and add movement to hero visuals with Cursor Move Effect, all inside the Bricks editor.

The same license includes related interaction Extensions such as image reveal on hover, Magnetic Effect and Tilt Effect, plus the full GSAP animation engine for scroll, text and image animation.

Ready to Create Engaging Cursor Effects Without Coding?

Upgrade to BricksFly Pro and unlock Cursor, Cursor Hover Effect, Cursor Move Effect, and the powerful GSAP animation engine.

Explore BricksFly Pro →

Last Thoughts

A Bricks custom cursor works best when it has a job: showing that a card opens a project, that a thumbnail plays a video, or that a slider can be dragged. Start with CSS if a branded pointer is enough. Move to a small script when you need a trailing ring and hover states. Use BricksFly when you want hover labels, image and video cursors and cursor move effects set up visually across many sites.

Whichever method you pick, keep the system cursor visible, switch the effect off on touch devices, respect reduced motion, and test on real pages before launch.

FAQs

Can I add a custom cursor in Bricks Builder without a plugin?

Yes. Add the CSS cursor property with an image URL and a fallback keyword in Bricks > Settings > Custom code. For a trailing cursor or hover states, add a short JavaScript snippet to the footer scripts field. A plugin is only needed if you want hover labels, image or video cursors and move effects without writing or maintaining code.

What size should a custom cursor image be?

Keep cursor images at 32 x 32 pixels for the widest support. Firefox and Chromium ignore cursor images larger than 128 x 128 pixels by default. Use a PNG or an SVG with a set width and height, and define the hotspot so clicks land where the visitor expects.

Do custom cursors work on mobile devices?

No. Phones and tablets use touch, so there is no pointer to follow or hover state to trigger. Run follower and hover-label effects only when the (hover: hover) and (pointer: fine) media query matches, so touch visitors see the normal page without broken effects.

Is the BricksFly Cursor Hover Effect free?

No. Cursor Hover Effect, Cursor Move Effect and the Cursor Extension are part of BricksFly Pro. The free BricksFly plugin on WordPress.org includes Elements, Starter Animations and free templates, while Pro adds the GSAP animation engine and all Extensions.

Will a custom cursor slow down my Bricks site?

A CSS cursor has no measurable cost. A JavaScript follower adds a small script and one animation loop, which stays light if it moves the cursor with transform and avoids heavy filters. Test your key pages in PageSpeed Insights before and after adding the effect.

How do I show text like “View” when hovering over a card?

With BricksFly, enable Cursor Hover Effect on the card, set Enable to Yes, and type your label in the Text field. Without a plugin, add a text element inside a custom cursor layer and show it with JavaScript when the pointer enters an Element marked with a data attribute.

Share

Zawad Alam Avatar

Written by

One response to “How to Add a Custom Cursor and Cursor Hover Effects in Bricks Builder”

  1. […] For more ideas, read BricksFly Extensions explained and the guide on adding a custom cursor in Bricks Builder. […]

Leave a Reply