help center

Search
Close this search box.
On this page

Create a Custom Text Path shape

Last Update: August 17, 2023

Introduction

When using the Text Path Widget, you have the option to select a custom SVG path. In this document you will learn how to create the custom path and upload it to your project. SVG paths can be created in one of the following ways covered below:

  • Create a path with design software such as Adobe Illustrator.
  • Create a path with an online SVG path generator.

Guidelines for creating paths

When creating paths, you need to remember three ground rules:

  1. The path you are creating needs to be a Path (not line, polyline, or circle…)
  2. Every path needs a starting point
  3. The path should be created from LTR (Clockwise)

Note: When creating a path from RTL, the text will be upside down.

Creating an SVG path with Adobe Illustrator

The process for creating an SVG path with Adobe Illustrator can be found below.

Create a New Artboard

Create a new Artboard in Ai  from the File menu (For example, Artboard size –  250X250 px)
Create An Artboard 1 Create a Custom Text Path shape 1

Create an Open Path

Create any path shape you would like by using the Pen tool (For example, the wave shape shown below)
Create an Open Path 1 Create a Custom Text Path shape 3

  1. Make sure the Stroke color is solid black (#000) and the Fill is set to none
    Stroke Color 1 Create a Custom Text Path shape 5
  2. Create your path using the Pen tool. To create curves, click and hold down the left mouse button while dragging the Pen tool. You may adjust the curves by using the handles
  3. Click the Esc button to end the path

Create a Closed Path

The steps for creating a closed path are the same as above with the exception of the following:

  1. Create a Closed circle path by using the Ellipse tool.
    Closed Path Create a Custom Text Path shape 7
  2. Select the closed path and decide on a starting point with the Direct selection tool.
  3. Choose a point and then click on the “Cut path on selected anchor points”. This action will create a break at the desired place.
    Cut Path Create a Custom Text Path shape 9
  4. Make sure the path is left open.

Reduce the Artboard

Reduce the unnecessary space, and make sure the Artboard size is the same as the path, using the following steps:

  1. Click on the path using the Selection tool
  2. From the primary menu, find and select Object > Artboards > Fit to Artwork Bounds

The Artboard should look like the following example:
Reduce Artboard Create a Custom Text Path shape 11

Export the Path

Export the completed path as an SVG file to your computer using the following SVG Options settings:
Export Path Create a Custom Text Path shape 13

  • Style – Internal CSS
  • Font – SVG
  • Images – Link
  • Object IDs – Unique
  • Decimal – 4
  • Minify – Selected
  • Responsive – Unselected

Creating a path using an online SVG generator

If unable to have access to design software, you can use an online generator to create your path. Follow the instructions provided by the source.

Example Resources

https://yqnn.github.io/svg-path-editor/

https://mavo.io/demos/svgpath/

Clean the Path

When creating a SVG path, the design software or online generator, may add unnecessary styles and attributes. You can remove these attributes with an online SVG cleanup tool. The reduction of attributes also reduces the SVG file size.

Example Resources

https://jakearchibald.github.io/svgomg/

Important: After cleaning the desired attributes, ensure the path is still correct / working. Sometimes after reducing too many attributes, the path will no longer work. Please use this cleanup method with caution.

Upload the Path File

Upload the finished SVG file to your text path widget. Add your text and styles as needed for your project.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article

Stuck?
Our Elementor Expert is Ready

Book a 45-min video consultation call with an Elementor expert and elevate your site!