Save Your Free Seat —

In this snappy, 1-hour live class, I’ll show you how we made our first $10K selling templates—and the step-by-step system we’ve used to scale to 7-figures in template sales (without more clients).

Thanks for reading!
Interested in having us design a high converting website for you? Click here. Or check out our stunning line of easy-to-customize brand + website templates.

How to Add Animated Typing Text to your Showit or Elementor Website

Tutorials

filed in

Since sharing our Ed Sheeran design concept on Instagram, several people have reached out asking us how to add an animated typing text effect to their website. In this post, we’ll teach you how to add this effect to both Showit and Elementor websites.

Adding Animated Typing Text in Elementor

We’ve used this animated text effect on our website for quite some time. There are a number of plugins that will add this, but we like Essential Addons.

After installing the plugin, activate the Fancy Text element. Then edit a page with Elementor, find the Fancy Text module, and drag it into your page. From there you can customize the text, timing, formatting, etc. We love how easy it is to format this box without any code.

How to add animated typing text to an Elementor website

How to add Typing Text to a Showit Website

Adding typing text to a Showit website requires a bit more work as you’ll need a bit of code.


Add this code to the the page using an embed box. You’ll want to change the text “you see below “The Sum of it all” and “watch now” to your text.

<center><a href="" class="typewrite" data-period="2000" data-type="[ &quot;The sum of it all&quot;, &quot;Watch Now&quot; ]">
    <span class="wrap"></span>
  </a></center>


Add this code to the CSS section of your page:

.typewrite{
    color: white!important;
    text-transform: lowercase;
    line-height: 1;
    font-size: 140px;
    text-align: center;
    font-family: 'Delight Mother';
    font-weight: 400;
    font-style: normal;
}


/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
   .typewrite{
    font-size: 80px;
   
}
}

/* Phone And Below */
@media all and (max-width: 479px) {
    .typewrite{
    font-size: 50px;
   
}
}

Add this section of code to the javascript portion of your page:

var TxtType = function(el, toRotate, period) {
        this.toRotate = toRotate;
        this.el = el;
        this.loopNum = 0;
        this.period = parseInt(period, 10) || 2000;
        this.txt = '';
        this.tick();
        this.isDeleting = false;
    };

    TxtType.prototype.tick = function() {
        var i = this.loopNum % this.toRotate.length;
        var fullTxt = this.toRotate[i];

        if (this.isDeleting) {
        this.txt = fullTxt.substring(0, this.txt.length - 1);
        } else {
        this.txt = fullTxt.substring(0, this.txt.length + 1);
        }

        this.el.innerHTML = '<span class="wrap">'+this.txt+'</span>';

        var that = this;
        var delta = 200 - Math.random() * 100;

        if (this.isDeleting) { delta /= 2; }

        if (!this.isDeleting && this.txt === fullTxt) {
        delta = this.period;
        this.isDeleting = true;
        } else if (this.isDeleting && this.txt === '') {
        this.isDeleting = false;
        this.loopNum++;
        delta = 500;
        }

        setTimeout(function() {
        that.tick();
        }, delta);
    };

    window.onload = function() {
        var elements = document.getElementsByClassName('typewrite');
        for (var i=0; i<elements.length; i++) {
            var toRotate = elements[i].getAttribute('data-type');
            var period = elements[i].getAttribute('data-period');
            if (toRotate) {
              new TxtType(elements[i], JSON.parse(toRotate), period);
            }
        }
        // INJECT CSS
        var css = document.createElement("style");
        css.type = "text/css";
        css.innerHTML = ".typewrite > .wrap { border-right: 0.08em solid #fff}";
        document.body.appendChild(css);
    };

Have questions? Leave us a comment below.

And if you’re interested in customizing your own website, check out the base design we used for the Ed Sheeran site.

Pin It

SHARE THIS POst

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Dolly says:

    This was an incredible tutorial! I immediately applied it to one of my website pages! thanks!

  2. Marie says:

    Great tutorial, thank you! It works perfectly. I just wonder if there is a way to delete the slash at the end of each words? I would like to only have the typewriter effect without the slash… 🙂

Your website should be bringing in clients while you sleep. If it isn't, it's probably missing a clear strategy — and this free guide shows you exactly where to start.

 THE FREE GUIDE

7 Website Fixes That Turn Visitors Into Paying Clients

    FREE GUIDE

    FREE GUIDE

    Meet Davey & Krista

    We've spent 15+ years designing brands and websites for creative businesses — and paying close attention to what actually works.

    Every template we've built is informed by real client projects, real conversion data, and a deep understanding of what makes someone go from browsing to booking. We don't just design for beautiful. We design for what happens after someone lands on your page.

    That's why our templates don't just come with files. They come with the guidance to use them — writing prompts, launch checklists, and systems that take you from purchase to published.

    We also teach. Our designer courses are where we train the next generation of designers, and DesignEdit is our newsletter for working creatives who want to stay ahead of AI. All of it comes from the same place: the belief that good design should make your business feel lighter, not harder.

    we're Davey & Krista 

    GET TO KNOW US

    SEND ME MY GUIDE

    Your website should be bringing in clients while you sleep. If it isn't, it's probably missing a clear strategy — and this free guide shows you exactly where to start.

    grab the free guide

    DESIGNERS - GRAB YOUR FREE GUIDE