Skip to main content

Using Mida's WYSIWYG/ Visual Editor

2-min video demo

Change text on the page

There are two ways to change text in a variant.

In the visual editor

  1. Open the variant in the visual editor.

  2. Click the text you want to change, then choose Edit Element. The Content Editor opens.

  3. Type the new text in the Text box. Use Edit HTML if you need to change the markup too.

  4. Save your changes.

With Edit JS

Use this when you prefer code, or want to change text in several places at once. Click Edit JS on the variant, or JS in the visual editor toolbar, and set the text with code. For example:

var el = document.querySelector('.hero-title');
if (el) el.textContent = 'Your new headline';

Change .hero-title to the selector of your element. To get it, click the element in the visual editor and choose Copy Selector Path.

CSS is great for styling text, such as size, colour and spacing. To change the words themselves, use one of the two ways above.

Did this answer your question?