Skip to content

How to Add a Progress Cursor in WordPress?

Key Takeaways

  • Nexter Blocks Pro incluye el bloque Mouse Cursor, y el ajuste Progress solo funciona cuando Cursor Area está en Body.
  • El estilo Progress dibuja un anillo SVG que se llena al desplazarse, y en una página de 5935 píxeles de scroll marca 0%, 25%, 50%, 75% y 100% en cada cuarto del recorrido.
  • First Circle Size define el contorno exterior y Second Circle Size el anillo que se llena, por lo que el segundo debe ser más pequeño; Row, Column y Block no renderizan ningún anillo.
Table of Contents

A reader part-way down a long article has no idea whether two paragraphs remain or twenty.

The Progress circle style draws a ring around the pointer that fills as they scroll, so the answer follows their eye instead of sitting at the edge of the screen.

For every Mouse Cursor setting in one place, see the Mouse Cursor block guide.

Before You Start

  • Edition: Pro — the Mouse Cursor block is part of Nexter Blocks Pro.
  • Block to enable: Mouse Cursor, switched on under Nexter > Blocks in your WordPress dashboard.
  • A page long enough to scroll. On a short page the ring has nothing to measure.

Steps

  1. Add the Mouse Cursor block and click Design from Scratch.
  1. Set Cursor Area to Body.
The Cursor Area dropdown with Body, Row, Column and Block
  1. Set Type to Follow Circle, with Circle Cursor Type on Predefined.
  1. Set Circle Style to Progress.
Circle Style set to Progress, with First and Second Circle Size
  1. Set First Circle Size for the outer track and Second Circle Size for the ring that fills.
  1. Colour the track and the progress ring in the Follow Circle panel on the Style tab.
  1. Publish and scroll the page.

Progress only works with Cursor Area set to Body. With Row or Block the ring is not rendered at all — measured on the front end, where both produced a plain circle and no ring.

How It Behaves

  • The ring tracks scroll exactly. Measured on a page with 5935 pixels of scroll, the ring’s fill read 0%, 25%, 50%, 75% and 100% at each quarter of the way down — perfectly linear.
  • First Circle Size is the outer track and Second Circle Size the ring that fills, so the second should be the smaller of the two.
  • It is drawn as an SVG ring, so it stays sharp at any size.
  • It measures the whole page, not the article, so long footers count toward the total.

Limitations

  • Pro only.
  • Body only. Row, Column and Block render no ring.
  • A page too short to scroll shows a ring that never moves, which looks broken.
  • The ring measures the document, so a very long footer or comments section skews what 100% means.
  • Touch screens have no cursor, so phone and tablet visitors see none of this.

Troubleshooting

The ring never fills

Either the page is too short to scroll, or Cursor Area is not Body.

There is a circle but no ring

Cursor Area is set to Row, Column or Block. The ring is only rendered for Body.

The two circles overlap oddly

Second Circle Size should be smaller than First Circle Size.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!