Help center

/

Documentation

/

Chalk Line Page FX

Chalk Line Page FX

The Chalk Line addon draws a hand-styled line down a WordPress page as the visitor scrolls, running through points pinned to elements in the page’s Slider Revolution modules.

Chalk Line Page FX


The Chalk Line Page FX is used in the WordPress block editor rather than in the Module Editor. Edit any post or page, click the block inserter, search for Chalk Line, and click Page FX · Chalk Line, then:

  • Page FX · Chalk Line Block
    • Settings

To draw and configure the line, click Settings on the Page FX · Chalk Line block to open the Chalk Line Editor, then:

  • Chalk Line Editor
    • Top Bar
      • Device
      • Preview
      • Save
      • Effect Data
      • Close
    • Line Tab
      • Line structure Section
        • All Segments
        • Segment
          • Delete segment
          • Anchor
          • Delete anchor
          • Add anchor
        • Add segment
      • Editing
      • Arrival Section
        • Arrival
        • Curve side
        • Bow
      • Anchor target Section
        • Anchor Target
        • Detach — free position
      • Device Position Section
        • Position Status
        • Reset to inherited
      • Stroke style Section
        • Color
        • Width
        • Line style
        • Stacking
        • Copy this style to all segments
      • Tip / stamp Section
        • Mode
        • Shape
        • Icon library…
        • Custom SVG…
        • SVG path
        • Icon
        • Size
        • Rotation
        • Gap
        • Auto-rotate to line
        • Alternate left / right
    • Settings Tab
      • Draw behaviour Section
        • Roughness
        • Smooth draw
        • Start delay
      • Page load Section
        • Preloader
        • Preloader color
        • Overlay color
        • Preloader Preview
    • Editor tracking preview
    • Play
    • Preview scrub
    • Live Page Preview

Chalk Line is a Slider Revolution addon that draws a hand-styled line down a WordPress page as the visitor scrolls. The line runs through points pinned to elements inside the Slider Revolution modules on that page, so it travels from one section of the page to the next.

It is a Page FX addon, which means it works on a whole WordPress page in the block editor rather than inside a single module.

The line is drawn as far as a point 60% of the way down the browser window, so it grows as the visitor scrolls down and shrinks as they scroll back up.

This article covers the Page FX · Chalk Line block, and the Chalk Line Editor where the line is drawn and styled.

To add the effect, edit the page in the WordPress block editor and click the block inserter 1. Search for Chalk Line, then click Page FX · Chalk Line 2 to add the block to the page.

Click Settings 3 on the block to open the Chalk Line Editor.

Page FX · Chalk Line Block

The Page FX · Chalk Line block adds the Chalk Line effect to the page it is placed on. A page can hold only one Page FX · Chalk Line block.

The block shows a short status line in the editor. Until a line has been saved, it says the effect is Not set up yet and asks you to click Settings to draw the line.

Settings (Button)

Opens the Chalk Line Editor, a full-screen editor that loads the page and lets you draw the line over it.

Chalk Line Editor

The Chalk Line Editor is a full-screen editor that opens over the WordPress block editor. It shows the live page on the right and the settings for the line on the left.

The line is made of segments. Each segment is a run of anchor points, and each anchor is pinned to an element on the page or placed at a free position.

Top Bar

The Top Bar holds the screen-size buttons for the preview, and the buttons for previewing, saving, importing, exporting and closing.

Device (Tab Select)

Sets the screen width used by the Live Page Preview. Anchors can be given a different position on Notebook (1024px), Tablet (778px) and Mobile (480px) screens, which is set by switching to that width and moving the anchor.

Options:

  • Wide (1600px): Shows the page at a width of 1600 pixels.
  • Desktop (1240px): Shows the page at a width of 1240 pixels.
  • Notebook (1024px): Shows the page at a width of 1024 pixels.
  • Tablet (778px): Shows the page at a width of 778 pixels.
  • Mobile (480px): Shows the page at a width of 480 pixels.

Preview (Button)

Opens the page in a new browser tab with the current line applied, including changes that have not been saved yet.

Save (Button)

Saves the line and its settings. A dot appears on the button while there are unsaved changes.

Effect Data (Action Menu)

Opens a menu for moving the line between pages or sites as a JSON file.

Options:

  • Import…: Loads a line from a JSON file exported by Chalk Line.
  • Export…: Downloads the current line as a JSON file.

Close (Button)

Closes the Chalk Line Editor and returns to the block editor. If there are unsaved changes, the browser asks Close without saving? before closing.

Line Tab

The Line tab holds the list of segments and anchors that make up the line, and the settings for whichever segment or anchor is selected.

Line structure Section

The Line structure section lists every segment of the line, with the anchors of each segment nested beneath it. Selecting an entry in the list chooses what the settings below it apply to.

All Segments (Button)

Selects every segment at once, so changes to the Stroke style and Tip / stamp settings apply to the whole line. The row also shows the total number of anchor points in the line.

Segment (Expander)

Each segment of the line has its own row, which expands to show the segment's anchors. Clicking the row selects the segment, so the settings below apply to that segment only.

The row shows the segment's name, followed by its number of points and its stroke type, such as 8 pts · gradient.

Delete segment (Button)

Removes the segment and all of its anchors from the line. The button appears when the pointer is over the segment's row.

Anchor (Button)

Each anchor in the segment has its own row, numbered in the order the line passes through them. Clicking the row selects the anchor and shows its Arrival, Anchor target and position settings.

The row shows the name of the element the anchor is pinned to, such as Image or Column, or Free (page %) for an anchor at a free position. It shows the element's ID instead until that part of the page has loaded in the Live Page Preview.

The badge on the right shows the anchor's Arrival setting.

Delete anchor (Button)

Removes the anchor from the segment. The button appears when the pointer is over the anchor's row.

Add anchor (Button)

Adds a new anchor to the end of the segment. After clicking it, the row changes to Click on the page… and a prompt above the Live Page Preview asks you to click on the page to place the anchor.

Add segment (Button)

Adds a new, empty segment to the end of the line. Anchors are then added to it with Add anchor.

Editing (Readout)

Shows what the settings below apply to. This is the segment name, the segment name followed by the anchor number, or the number of segments when All Segments is selected.

Arrival Section


  • Visible when an Anchor is selected in the Line structure section.
  • Hidden when a Segment or All Segments is selected in the Line structure section.

The Arrival section sets the shape of the line between the previous anchor and the selected anchor.

Arrival (Tab Select)

  • Visible when Arrival section is visible.
  • Hidden when Arrival section is hidden.

Sets how the line travels from the previous anchor to the selected anchor.

Options:

  • Smooth: Draws a smooth curve that flows through the neighboring anchors.
  • Line: Draws a straight line to the anchor.
  • Curve: Draws a single curve to the anchor that bends to one side, set by Curve side and Bow.
  • Gap: Moves to the anchor without drawing, which leaves a break in the line.
Curve side (Dropdown)

  • Visible when Arrival set to Curve.
  • Hidden when Arrival set to Smooth, Line or Gap, or when the Arrival section is hidden.

Sets which side of the straight path the curve bends toward, relative to the direction the line is traveling.

Options:

  • Left: Bends the curve to the left of the direction of travel.
  • Right: Bends the curve to the right of the direction of travel.
Bow (Number, range, slider)

  • Visible when Arrival set to Curve.
  • Hidden when Arrival set to Smooth, Line or Gap, or when the Arrival section is hidden.

Sets how far the curve bends away from a straight line. The bend increases with the distance between the two anchors.

Options:

  • 0: Minimum. The curve does not bend and the line is straight.
  • 1: Maximum. The curve bends as far as it can.

Anchor target Section


  • Visible when an Anchor is selected in the Line structure section.
  • Hidden when a Segment or All Segments is selected in the Line structure section.

The Anchor target section shows what the selected anchor is attached to.

Anchor Target (Readout)

  • Visible when Anchor target section is visible.
  • Hidden when Anchor target section is hidden.

Shows the element the anchor is pinned to, with its name and ID and the label Pinned. For an anchor that is not attached to an element, it shows Free position with the anchor's position as a percentage of the page, and the label Free.

A pinned anchor moves with its element, so the line follows the element when the layout changes. To attach the anchor to a different element, drag its point in the Live Page Preview onto that element. Dragging it onto empty background sets it to a free position.

Detach — free position (Button)

  • Visible when the selected Anchor is pinned to an element on the page.
  • Hidden when the selected Anchor is at a free position, or when the Anchor target section is hidden.

Detaches the anchor from its element and keeps it at the same spot on the page, stored as a percentage of the page's width and height.

Device Position Section


  • Visible when an Anchor is selected and Device set to Notebook (1024px), Tablet (778px) or Mobile (480px).
  • Hidden when Device set to Wide (1600px) or Desktop (1240px), or when no Anchor is selected.

The Device Position section shows whether the selected anchor has its own position on the current screen size.

Position Status (Readout)

  • Visible when Device Position section is visible.
  • Hidden when Device Position section is hidden.

Shows Inherited from a wider screen when the anchor uses the position set on a wider screen, or Custom position on followed by the screen name when it has its own position here.

A note below explains that moving the point on the current screen size does not move it on wider screens.

Reset to inherited (Button)

  • Visible when the selected Anchor has a custom position on the current Device.
  • Hidden when the selected Anchor inherits its position from a wider screen, or when the Device Position section is hidden.

Removes the anchor's custom position for the current screen size, so it uses the position set on a wider screen again.

Stroke style Section

The Stroke style section sets the color, thickness, pattern and stacking of the line for the selected segment, or for every segment when All Segments is selected.

Color (Color Swatch)

Sets the color of the line. The color picker supports a solid color or a linear or radial gradient.

Width (Number, pixels, range, slider)

Sets the thickness of the line, in pixels.

Options:

  • 1: Minimum. The thinnest line.
  • 500: Maximum. The thickest line.
Line style (Dropdown)

Sets the pattern the line is drawn with.

Options:

  • Full: Draws a solid, unbroken line.
  • Dashed: Draws the line as a series of dashes.
  • Dotted: Draws the line as a series of dots.
Stacking (Dropdown)

Sets whether the line is drawn in front of or behind the content of the page.

Options:

  • Over content: Draws the line in front of the page content.
  • Behind content: Draws the line behind the page content.
Copy this style to all segments (Button)

  • Visible when a Segment or an Anchor is selected in the Line structure section.
  • Hidden when All Segments is selected in the Line structure section.

Applies the Stroke style settings of the selected segment to every segment in the line.

Tip / stamp Section (Toggle)

The Tip / stamp section adds a shape to the line, either at the end that is being drawn or repeated along its length. Turning the toggle On shows the section's settings.

Mode (Tab Select)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Sets whether the shape is shown once at the end of the line or repeated along it.

Options:

  • Pen Tip: Shows the shape once, at the end of the line that is being drawn, and moves it along as the line grows.
  • Stamp Trail: Repeats the shape along the drawn part of the line, spaced by Gap.
Shape (Image Select)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Sets the shape used for the pen tip or the stamps from a set of built-in shapes. Choosing a built-in shape replaces a library icon or custom SVG.

Options:

  • Dot: A filled circle.
  • Ring: An outlined circle.
  • Arrow: A single arrowhead.
  • Double: A double arrowhead.
  • Heart: A heart.
  • Star: A five-pointed star.
  • Spark: A four-pointed spark.
  • Footprint: A footprint.
Icon library… (Button)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Opens a searchable grid of icons to use as the shape instead of a built-in Shape. Choosing an icon shows the Icon setting.

Custom SVG… (Button)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Switches the shape to a custom SVG path and shows the SVG path field, where the path is entered.

SVG path (Text)

  • Visible when Tip / stamp toggled to On and Custom SVG… has been clicked.
  • Hidden when Tip / stamp toggled to Off, or when a built-in Shape or a library icon is in use.

Sets the custom shape as the d attribute of an SVG path. The field's placeholder notes that the path should be centered on 0 and run from about -1 to 1.

Icon (Dropdown)

  • Visible when Tip / stamp toggled to On and Icon library… has been opened.
  • Hidden when Tip / stamp toggled to Off, or when a built-in Shape or a custom SVG is in use.

Shows the name of the library icon in use, or Pick an icon… before one is chosen. Clicking it opens the icon grid to choose a different icon.

Size (Number, range, slider)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Sets the size of the pen tip or of each stamp.

Options:

  • 2: Minimum. The smallest shape.
  • 60: Maximum. The largest shape.
Rotation (Number, degrees, range, slider)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Rotates the shape by a fixed angle. When Auto-rotate to line is On, this angle is added to the direction of the line.

Options:

  • -180: Minimum. Rotates the shape 180 degrees counterclockwise.
  • 180: Maximum. Rotates the shape 180 degrees clockwise.
Gap (Number, pixels, range, slider)

  • Visible when Tip / stamp toggled to On and Mode set to Stamp Trail.
  • Hidden when Tip / stamp toggled to Off, or when Mode set to Pen Tip.

Sets the spacing between stamps along the line, in pixels.

Options:

  • 8: Minimum. Places the stamps closest together.
  • 200: Maximum. Places the stamps furthest apart.
Auto-rotate to line (Toggle)

  • Visible when Tip / stamp toggled to On.
  • Hidden when Tip / stamp toggled to Off.

Turns the shape to face the direction the line is traveling at its position.

Options:

  • On: Rotates the shape to follow the direction of the line, plus any Rotation.
  • Off: Keeps the shape at the angle set by Rotation.
Alternate left / right (Toggle)

  • Visible when Tip / stamp toggled to On and Mode set to Stamp Trail.
  • Hidden when Tip / stamp toggled to Off, or when Mode set to Pen Tip.

Mirrors every second stamp, so the stamps alternate between a left and a right version, as with a trail of footprints.

Options:

  • On: Mirrors every second stamp.
  • Off: Draws every stamp the same way round.

Settings Tab

The Settings tab holds the settings that apply to the whole line, for how it is drawn and how the page loads.

Draw behaviour Section

The Draw behaviour section sets the texture of the line and the timing of its drawing.

Roughness (Number, range, slider)

Adds an uneven, hand-drawn texture to the edges of the line. The texture is not applied on touch devices such as phones and tablets.

Options:

  • 0: Minimum. The line has clean, even edges.
  • 16: Maximum. The line has the roughest edges.
Smooth draw (Toggle)

Eases the drawing of the line toward the scroll position over several frames, rather than matching each scroll movement exactly.

Options:

  • On: The drawn length of the line catches up with the scroll position gradually.
  • Off: The drawn length of the line follows the scroll position exactly.
Start delay (Number, milliseconds, range)

Sets how long after the page loads the line waits before it starts drawing, in milliseconds.

Options:

  • 0: Minimum. The line starts drawing as soon as the page loads.
  • 60000: Maximum. The line waits 60 seconds before it starts drawing.

Page load Section (Toggle)

The Page load section adds a loading screen to the page. Turning the toggle On enables the loading screen and shows its settings.

Preloader (Dropdown)

  • Visible when Page load toggled to On.
  • Hidden when Page load toggled to Off.

Sets the loading animation shown on the loading screen.

Options:

  • No Preloader: Shows the loading screen without an animation.
  • Type 1: Shows loading animation 1.
  • Type 2: Shows loading animation 2.
  • Type 3: Shows loading animation 3.
  • Type 4: Shows loading animation 4.
  • Type 5: Shows loading animation 5.
  • Type 6: Shows loading animation 6.
  • Type 7: Shows loading animation 7.
  • Type 8: Shows loading animation 8.
  • Type 9: Shows loading animation 9.
  • Type 10: Shows loading animation 10.
  • Type 11: Shows loading animation 11.
  • Type 12: Shows loading animation 12.
  • Type 13: Shows loading animation 13.
  • Type 14: Shows loading animation 14.
  • Type 15: Shows loading animation 15.
  • Type 16: Shows loading animation 16.
Preloader color (Color Swatch)

  • Visible when Page load toggled to On and Preloader set to any option other than No Preloader.
  • Hidden when Page load toggled to Off, or when Preloader set to No Preloader.

Sets the color of the loading animation.

Overlay color (Color Swatch)

  • Visible when Page load toggled to On.
  • Hidden when Page load toggled to Off.

Sets the background color of the loading screen that covers the page.

Preloader Preview (Canvas Preview)

  • Visible when Page load toggled to On and Preloader set to any option other than No Preloader.
  • Hidden when Page load toggled to Off, or when Preloader set to No Preloader.

Plays the chosen loading animation using the current Preloader color and Overlay color.

Editor tracking preview (Toggle)

Shows a faint copy of the whole line's route in the Live Page Preview, behind the drawn part, so the full path can be seen while editing. It only affects the editor, not the live page.

Options:

  • On: Shows the faint route of the whole line in the preview.
  • Off: Shows only the drawn part of the line in the preview.

Play (Button)

Plays the drawing of the line in the Live Page Preview from the start.

Preview scrub (Number, percentage, range, slider)

Sets how much of the line is drawn in the Live Page Preview, so the drawing can be checked at any point.

Options:

  • 0%: Minimum. None of the line is drawn.
  • 100%: Maximum. The whole line is drawn.

Live Page Preview (Canvas Preview)

Shows the page at the width set by Device, with the line drawn over it. A label above it shows the device name and width.

Anchors are placed by clicking on the page after Add anchor. An anchor's point can be dragged onto an element to pin it there, or onto empty background to set it to a free position.

In this article

back to overview