Learn how to add text and layer styles like drop shadow and stroke in After Effects. This tutorial provides detailed instructions including text creation in After Effects, positioning, and styling, as well as adding depth and color to photos.
Key Insights
- The tutorial provides a step-by-step guide on how to create and style text in After Effects, including using the Horizontal Type tool for text creation, changing character settings such as font family and size, and paragraph settings like centering text.
- It also instructs on how to add a drop shadow to photos using Layer Styles to give the scene more depth. Detailed instructions are provided on how to change the distance, size, opacity, and angle of the Drop Shadow.
- Apart from adding a drop shadow, the tutorial also guides on how to add a Stroke layer style to photos, providing a colored border. Instructions are given on how to change the stroke size, position, and color.
- The tutorial illustrates how to animate text and images in the timeline, including moving the playhead, selecting and deselecting layers, and previewing the animation.
- After Effects' layer styles are compatible with Photoshop's layer styles, however, the tutorial notes that layer styles can disable some features when used on 3D layers.
- The tutorial differentiates between After Effect’s Drop Shadow layer style and the Drop Shadow effect, noting that the effect does not limit options on 3D layers, unlike the layer style.
Learn how to add and style text and add a drop shadow in After Effects in this detailed tutorial, complete with an exercise overview and step-by-step instructions.
This exercise is excerpted from Noble Desktop’s Adobe After Effects training materials and is compatible with After Effects updates through 2023. To learn current skills in After Effects with hands-on training, check out our After Effects Bootcamp, Motion Graphics Certificate, and motion graphics design classes in-person and live online.
Topics Covered in This After Effects Tutorial:
Adding Text, Adding Layer Styles: Drop Shadow & Stroke
Exercise Preview
Exercise Overview
In this exercise you’ll create text, and add styling such as drop shadows and strokes.
Getting Started
-
You should still have Your Name—Guitar Picks.aep open in After Effects. If you closed it, re-open it now by going to File > Open Project then Desktop > Class Files > After Effects Class > Guitar Picks. We recommend you finish the previous exercises (1B–1C) before starting this one. If you haven’t finished them, do the following sidebar.
If You Did Not Do the Previous Exercises (1B–1C)
- If a project is open in After Effects, go to File > Save, then File > Close Project.
- Go to File > Open Project and navigate to Desktop > Class Files > After Effects Class > Guitar Picks > Finished Projects.
- Double–click on Guitar Picks—Ready For Text.aep.
- Go to File > Save As > Save As. Name the file Your Name—Guitar Picks.aep and save it to Desktop > Class Files > After Effects Class > Guitar Picks (replacing the file if it’s already there).
Adding Text
Many of the assets you work with are created in other programs (such as Photoshop or Illustrator) and animated in After Effects. Text on the other hand can be created entirely within After Effects.
Move the playhead to the beginning of the Timeline.
-
In the Tools panel at the top left of the window, choose the Horizontal Type tool
.
When you activate the Type tool, After Effects automatically opens the Character and Paragraph panels on the right side of the window.
TIP: You can press Cmd–T (Mac) or CTRL–T (Windows) to activate the Horizontal Type tool
.
-
In the Character panel, make the following changes:
Font Family: Arial Black Font Size
: 70 Leave the other settings the same.
In the Paragraph panel, click the Center text button
.
In the Timeline, click on the topmost layer to make it active. (New layers are placed above the current active layer when they are created.)
Don’t worry about exact position for now, but click in the middle of the Composition window and type Rockin’ Guitar Picks
Press Cmd–Return (Mac) or CTRL–Enter (Windows) or click on any empty area of the Timeline to finalize the creation of the text layer.
In the Timeline, CTRL–click (Mac) or Right–click (Windows) on the text layer and choose Transform > Center in View.
With the Rockin’ Guitar Picks text layer still selected, press P to reveal Position.
- Change the second value (vertical position to 200 to move it above the guitar picks in the background.
- Hit Cmd–A (Mac) or Ctr–A (Windows) to select all the layers.
- Press Cmd ~ (Mac) or CTRL ~ (Windows) to hide the properties of the all the layers.
- In the Tools panel at the top left of the window, choose the Selection tool
.
- Click in an empty part of the Timeline to deselect the layers.
In the Timeline, drag the Rockin’ Guitar Picks text layer below the photo layers (just above the background layer).
-
Press Spacebar to preview the animation.
You can see that when the two images fall onto the screen they now cover the background and the text (which is what we want).
Press Spacebar again to stop the preview at anytime.
Adding a Drop Shadow (Layer Style)
Lets add a drop shadow to the 2 rotated photos to give the scene more depth.
At the top left of the Timeline, click on the Timecode to edit it.
-
Type 500 and hit Return (Mac) or Enter (Windows).
This will move the playhead to 0;00;05;00 (5 seconds) so you can see both photos.
- In the Timeline, select the photo1 layer.
- Hold Shift and click on the photo2 layer so both photo layers are selected.
- Choose Layer > Layer Styles > Drop Shadow.
- In the Timeline, below both of the photo layers you should see a new Layer Styles below Transform.
- Under the photo2 layer, below Layer Styles, click the arrow
to expand Drop Shadow to see its properties.
-
Change the settings listed below. After entering a value hit Return (Mac) or Enter (Windows) to apply it (or Tab to the next value), but do NOT click off because we want the layers to remain selected.
Distance: 30 Size: 70
-
Now that you can better see the shadows, change the following:
Opacity: 90% Angle: 0x+90°
Close up the Drop Shadow settings using its arrow
.
Adding a Stroke (Layer Style)
Let’s also add a colored border to the 2 photos.
- With both photo layers still selected, choose Layer > Layer Styles > Stroke.
- In the Timeline, below both of the photo layers the Layer Styles now have a Stroke below Drop Shadow.
- Under the photo2 layer, expand the Stroke settings using its arrow
.
- Set the Stroke’s Size to 12
- Change Position to Inside. (Outside strokes have rounded corners, which we don’t want. Inside strokes have nice square corners.)
-
Next to the Stroke’s Color, click the color swatch and:
- Change the hex code to #d46371
- Click OK.
- Press Cmd–Shift–A (Mac) or CTRL–Shift–A (Windows) to deselect all layers.
-
Both strokes should currently look the same, but we want them to be different colors.
The photo2 layer’s Stroke options should still be open. Next to the Stroke’s Color, click the color swatch and:
- Change the hex code to #eac06e
- Click OK.
Press Spacebar to preview the animation with the new styling.
Stop the preview by pressing Spacebar again.
- Hit Cmd–A (Mac) or Ctr–A (Windows) to select all the layers.
Press Cmd ~ (Mac) or CTRL ~ (Windows) to hide the properties of the all the layers.
Choose File > Save or hit Cmd–S (Mac) or CTRL–S (Windows) to save your file.
Layer Styles Versus Effects
After Effects’s layer styles match the layers styles found in Photoshop.
Layer styles disable certain features when used on 3D layers. That doesn’t impact this project, but is something keep in mind if using the 3D features in After Effects.
After Effects’s Drop Shadow layer style is different from the Drop Shadow effect. The effect does not limit your options on 3D layers. Sadly there is no stroke effect.