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.
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.

The four common custom cursor effects
| Effect | What the visitor sees | How to build it |
| Image cursor | The system pointer is replaced by a small PNG or SVG | CSS only (Method 1) |
| Follower cursor | A dot and a ring follow the pointer, often with a slight trail | CSS and JavaScript (Method 2) or the BricksFly Cursor Extension (Method 3) |
| Hover label cursor | A circle with text such as “View” or “Play” appears over cards, images or buttons | JavaScript (Method 2) or the BricksFly Cursor Hover Effect (Method 3) |
| Cursor move effect | Elements on the page shift in response to cursor movement | Custom GSAP code or the BricksFly Cursor Move Effect (Method 3) |
Before You Start: What You Need
| Requirement | Method 1 (CSS) | Method 2 (CSS + JS) | Method 3 (BricksFly) |
| Bricks theme active | Yes | Yes | Yes |
| Access to Bricks custom code | Custom CSS | Custom CSS and footer scripts | Not required |
| Plugin | None | None | Free BricksFly plugin plus BricksFly Pro |
| Skill level | Beginner | Intermediate (basic JavaScript) | Beginner |
| Time for a first version | About 10 minutes | About 30 minutes | About 10 minutes |
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 */
}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.
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:
| Extension | Group | What it does |
| Cursor | General Extensions | Replaces the default cursor with custom designs and interactive cursor styles |
| Cursor Hover Effect | GSAP Extensions | Shows a custom hover cursor, with text, color, image or video, over the Element you choose |
| Cursor Move Effect | GSAP Extensions | Creates 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
- In the WordPress dashboard, click BricksFly.
- Open the Extensions tab.
- Under Effects, toggle on Cursor Hover Effect. Toggle on Cursor Move Effect if you plan to use them.
- Save, then open a page in the Bricks editor.

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:
| Setting | What it controls | Suggested starting value |
| Text | The words shown inside the hover cursor | “View” for projects, “Play” for videos, “Read” for posts |
| Text Typography | Color, font size, family, weight, letter spacing, text shadow and more | Font size 16px, weight 600 |
| Background | Background color, image or video behind the text | A solid color that contrasts with the card |
| Width and Height | Size of the hover cursor | 80 and 80 (the value used in the docs) |
| Border | Border type, width, color and radius | Radius 50% for a circle |
| Enable On Editor | Previews the effect inside the Bricks editor | On while designing |

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.
Explore BricksFly Pro →
Which Custom Cursor Method Should You Use?

Choose the lightest method that delivers the effect
| CSS only | CSS + JavaScript | BricksFly Extensions | |
| Image or keyword cursor | Yes | Yes | Yes |
| Trailing follower cursor | No | Yes | Yes (Cursor) |
| Text label on hover | No | Yes, with extra code | Yes (Cursor Hover Effect, Text field) |
| Image or video inside hover cursor | No | Yes, with extra code | Yes (Background image or video) |
| Preview in the Bricks editor | Partly | No | Yes (Enable On Editor) |
| Ongoing maintenance | Very low | You maintain the script | Handled by plugin updates |
| Cost | Free | Free | BricksFly 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 section | Cursor effect | Example label or behavior |
| Portfolio grid | Hover label cursor | “View” circle over each project card |
| Video section | Hover label cursor with video background | “Play” over the video thumbnail |
| Hero section | Cursor Move Effect | Floating shapes shift with the mouse |
| Call-to-action button | Ring that grows on hover | Ring expands as the pointer reaches the button |
| Pricing table | Hover cursor on plan cards | “Choose” label over the recommended plan |
| Testimonials and client photos | Hover label cursor | “Read story” over each client photo |
| Image slider | CSS keyword cursor | grab while hovering the slider |
Accessibility, Mobile and Performance

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
| Problem | Likely cause | Fix |
| Image cursor does not appear | File is too large, path is wrong, or the fallback keyword is missing | Use a 32 x 32 image, check the URL, end the rule with , auto |
| Clicks land in the wrong spot | Hotspot not set | Add x and y values, such as 16 16 for a centered 32 px cursor |
| Custom cursor shows on phones | No device check | Wrap the effect in the (hover: hover) and (pointer: fine) check |
| Links stop responding | Cursor layer catches the clicks | Add pointer-events: none to the cursor Elements |
| Cursor hides behind the header or popups | Low z-index | Raise the cursor z-index above sticky headers and popups |
| Cursor lags or jitters | Animating top and left, or heavy filters | Animate transform only and remove blur or shadow effects |
| Effect works in preview but not live | An optimization plugin delays or combines scripts | Exclude the cursor script from delay and combine settings |
| BricksFly hover settings are missing | Extension not enabled, or Pro not active | Toggle the Extension in BricksFly > Extensions and check the Pro license |
Common Mistakes to Avoid
- Adding a custom cursor to every page – Use it where it explains an action, such as portfolio cards or video thumbnails.
- Hiding the system cursor with no fallback – If the script fails, visitors lose their pointer.
- Using a large or detailed cursor image – Browsers ignore oversized images, and small details disappear at 32 px.
- Forgetting contrast -A black ring vanishes on a dark hero. Test every section or use a blend mode.
- Stacking effects – A follower cursor, a magnetic button and a tilt card on the same Element compete for attention.
- 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.
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.





Leave a Reply
You must be logged in to post a comment.