Cursor Effects Documentation

Everything DP Cursor Effects can do, setting by setting.

How to add the module, what each style does, and a full reference of every setting in the Content and Design tabs.

Overview

Give the cursor some personality across the whole page, one section, row or column, or the module's own box. Leave a trail of pictures, invert colours under a blend circle, show a word over links or pull buttons towards the pointer.

DP Cursor Effects adds a cursor effect to the area you choose in Where: the whole page, the section, row or column the module is in, or the module's own box (with its own height and heading). Pick a look in Content > Style. Hide The Normal Cursor is optional.

Clicks always go through. The effects are off on touch screens and for visitors who ask for less motion.

In the builder

Search for DP and choose DP Cursor Effects. It works the same in Divi 5 and Divi 4.

6 styles

Pick one in Content > Style.

Single module

All the settings are on the module itself.

Adding it to a page

DP Cursor Effects is part of DiviPerfect Modules. Once the plugin is active, the module is in the builder's module list.

Add the module

In the Divi builder, click the + button to add a module, search for DP and choose DP Cursor Effects.

Add your content

Open the Content tab and fill in the module's own content settings. The module previews live in the builder as you type.

Pick a style

Choose a look in Content > Style.

Fine-tune the design

Use the Design tab for sizes, colours and fonts, and Advanced for CSS classes, custom CSS and visibility, like any Divi module. Empty colour settings use the style's own colours.

Move your cursor

Styles

Choose a style in Style. See every style running live.

Image Trail

Pictures appear along the cursor path, then leave with a Fade, Zoom, Drift, Spin, Fall, Blur or Flip.

Dot & Ring

A dot and a trailing ring replace the cursor.

Blend Circle

A circle that inverts the colours under it.

Label Cursor

A word such as View over links and buttons.

Magnetic Buttons

Buttons pull towards the cursor.

Glow

A soft light that follows the cursor.

Features

DP Cursor Effects adds a custom cursor effect to a page or to one part of it. Use it to give a hero, portfolio or landing page a playful touch: a trail of pictures, a dot and ring, a blend circle, a label over links, magnetic buttons or a soft glow. The effect can cover the whole page, the section, row or column the module is in, or a ready-made box.

6 effect styles

Image Trail, Dot & Ring, Blend Circle, Label Cursor, Magnetic Buttons and Glow. Pick one in Content > Effect > Style.

Choose where it works

Content > Effect > Where sets the area: Whole Page, This Section, This Row, This Column or This Box. With a section, row or column you can design that area with any Divi rows and modules.

Image trail

Up to six pictures appear along the cursor path and leave with one of seven exit animations. Leave all pictures empty to use sample pictures.

Label cursor

Shows a word such as View over links and buttons. Give any element a data-dp-cursor attribute to show its own word.

Magnetic buttons

Buttons, or buttons and links, or any elements you pick with a CSS selector, pull towards the cursor.

Smooth following

Smoothness sets how far the effect trails behind the cursor, from 0 (no lag) upwards.

Ready-made box

With Where set to This Box, the module shows its own box with a height, a background and an optional heading in the middle.

Respects visitors

The effect runs only for a mouse or trackpad, not on touch screens, and not for visitors who ask for reduced motion. Text fields keep their normal cursor.

How to use it

Step-by-step guides for the things people most often want to do with DP Cursor Effects.

How to pick and switch the effect

  1. Open the module and go to Content > Effect > Style.
  2. Pick an effect, for example Image Trail or Dot & Ring.
  3. The settings in Design > Cursor change to show only those the effect uses.
  4. Switch styles at any time to compare them in the preview.

How to choose where the effect works

  1. Go to Content > Effect > Where.
  2. Pick Whole Page, This Section, This Row or This Column to use the part of your layout the module sits in.
  3. Or pick This Box for a ready-made box inside the module, then set Box Height, Box Background and Box Heading in Design > Box.
  4. In the builder the effect always shows in the module box; check the live page for the full area.

How to set up an image trail

  1. Pick Image Trail in Content > Effect > Style.
  2. Upload up to six pictures in Content > Pictures > Picture 1 to Picture 6.
  3. Choose how each picture leaves in Content > Pictures > Exit Animation: Fade, Zoom out, Drift up, Spin, Fall, Blur or Flip.
  4. In Design > Cursor, set Picture Size, Spacing (distance between pictures), Picture Duration, Picture Corners and Random Tilt.

How to show a label over links

  1. Pick Label Cursor in Content > Effect > Style.
  2. Type the word in Content > Effect > Label, for example View.
  3. For another word on one element, open that element and add a data-dp-cursor attribute with the word in Advanced > Attributes.
  4. Change the label font in the Design tab's Label Text group.

How to make buttons magnetic

  1. Pick Magnetic Buttons in Content > Effect > Style.
  2. Choose Buttons, Buttons and links, or Custom CSS selector in Content > Effect > What Pulls.
  3. For a custom choice, type the selector in CSS Selector, for example .et_pb_button.
  4. Set how far they move with Design > Cursor > Pull, and the follow speed with Smoothness.

How to change the cursor colour and size

  1. Go to Design > Cursor.
  2. Set Color for Dot & Ring, Blend Circle, Label Cursor or Glow.
  3. Set Size for the dot, circle or label, or Glow Size for the Glow.
  4. The default colour follows your Divi Primary colour. Changing that Divi colour restyles every module; a colour set here changes only this effect.

How to hide the normal cursor

  1. Pick Dot & Ring, Blend Circle or Label Cursor.
  2. Turn on Content > Effect > Hide The Normal Cursor.
  3. The effect now replaces the arrow. Text fields still show their normal cursor.

Tips

  • With Where set to This Section, This Row or This Column, the effect covers that part of the layout, so you can place the module anywhere in it.
  • Visitors on phones and tablets do not see the effect, so do not put key information in it.
  • Blend Circle inverts the colours under it, so it looks best over strong contrast such as black text on white.
  • Divi 4 has the same settings, and each setting shows only for the styles that use it.

Design Elements

The parts of DP Cursor Effects you can style in the Design tab, and the options each part has. In Divi 4 the same groups have Background Color, Margin, Padding, Width, Max Width, Min Height, Height, Border and Box Shadow in the same toggle. Empty colour settings use the style's own colours, and text and accent colours follow your Divi theme colours.

Box Heading Text

Design tab

The heading in the middle of the box.

  • Box Heading: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).

Tip: Type the heading in Design > Box > Box Heading first.

Label Text

Design tab

The word shown by the Label Cursor.

  • Label: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).

Tip: Short words in a bold font read best inside the label.

Cursor

Design tab

The effect itself: its colour, size, smoothness, pull and the trail pictures.

Options: Colour, Size, Glow Size, Smoothness, Pull, Picture Size (with tablet and phone values), Spacing, Picture Duration, Random Tilt, Picture Corners. Only the fields of the current style are shown.

Tip: Raise Smoothness for a soft, floating cursor, or set it to 0 for one that sticks to the pointer.

Box

Design tab

The ready-made box used when Where is This Box (and in the builder).

Options: Box Height (with tablet and phone values), Box Background, Box Heading.

Tip: A dark Box Background makes Glow and Blend Circle stand out.

Shadows

Design tab

The drop shadows the module draws, such as under the trail pictures.

Options: Built-In Shadows toggle.

Tip: Turn it off for flat pictures in the Image Trail.

Settings Reference

Every setting DP Cursor Effects adds, in the order you find it in the builder. Divi's standard Design options (fonts, spacing, borders, box shadow, filters, transforms, animation) and the Advanced tab work as they do on any Divi module.

Effect

Content tab

  • Style: Image Trail: pictures appear along the cursor path. Dot & Ring: a dot with a ring that follows behind. Blend Circle: a circle that inverts the colors under it. Label Cursor: shows a word such as View over links and buttons. Magnetic: buttons pull towards the cursor. Glow: a soft light that follows the cursor. Options: Image Trail, Dot & Ring, Blend Circle, Label Cursor, Magnetic Buttons, Glow. Default: Image Trail.
  • Where: Whole Page: everywhere on the live page. This Section, This Row or This Column: the part of your Divi layout this module is in, so you can design that area with any rows and modules. This Box: a ready-made box inside the module itself. The builder always shows it in the module box. Options: Whole Page, This Section, This Row, This Column, This Box. Default: This Section.
  • Hide The Normal Cursor: The effect replaces the arrow. Text fields keep their normal cursor. On or off. Default: on.
  • Label: Shown over links and buttons. Give any element a data-dp-cursor attribute (Advanced > Attributes) to show its own word. Text.
  • What Pulls: Options: Buttons, Buttons and links, Custom CSS selector. Default: Buttons.
  • CSS Selector: For example .et_pb_button, .my-icon Text.

Pictures

Content tab

  • Picture 1: Leave all empty to use sample pictures. Image.
  • Picture 2: Image.
  • Picture 3: Image.
  • Picture 4: Image.
  • Picture 5: Image.
  • Picture 6: Image.
  • Exit Animation: How each picture leaves. Options: Fade, Zoom out, Drift up, Spin, Fall, Blur, Flip. Default: Fade.

Cursor

Design tab

  • Color: Color. Default: #2c59fa.
  • Size: Range: 6 to 200 px. Default: 36px.
  • Glow Size: Range: 100 to 1200 px. Default: 520px.
  • Smoothness: How far the effect trails behind the cursor. 0: none. Range: 0 to 95 %. Default: 80%.
  • Pull: How far buttons move towards the cursor. Range: 5 to 100 %. Default: 35%.
  • Picture Size: Range: 40 to 600 px. Default: 200px.
  • Spacing: Distance the cursor moves between pictures. Range: 10 to 400 px. Default: 90px.
  • Picture Duration: How long each picture stays. Range: 200 to 3000 ms. Default: 900ms.
  • Random Tilt: Turns each picture a little. On or off. Default: on.
  • Picture Corners: Range: 0 to 60 px. Default: 12px.

Box

Design tab

  • Box Height: Used by This Box (and in the builder). Range: 120 to 1200 px. Default: 460px.
  • Box Background: Color. Default: #0c0c0e.
  • Box Heading: Optional text in the middle of the box. Text.

Shadows

Design tab

  • Built-In Shadows: The drop shadows this module draws under its images, cards and panels. Off removes them; Divi's own Box Shadow settings still work. On or off. Default: on.

Support

Something not working as expected, or a question this page does not answer? Get in touch and we will help you get Cursor Effects working on your site.

Frequently Asked Questions

Common questions about DP Cursor Effects.

Can I limit it to one section?

Yes. Set Where to the section, row or column the module is in, or to the module's own box.

Can I set my own label words?

Yes. Give any element a data-dp-cursor attribute and the Label Cursor shows that word over it.

Does it work on phones?

Touch screens have no cursor, so the effect is off there.

Does it work with Divi 5 and Divi 4?

Yes. The module has the same settings and styles in both builders.

Can I use it more than once on a page?

Yes. Each copy of the module has its own settings.