How to Add HTML Code to Your Menu Items in CMS Made Simple

Sometimes you want to add some HTML Code to your menu items. For example, you may want to add an image, highlight special words or colorize certain words with <span></span> tags. By default CMS Made Simple does not allow this.

But this is very easy to implement!

The best method is to open MenuManager in your CMS Made Simple project:

Here we need to edit the default template. If you are not able to edit one, then you need to import your default template first. Then you will also be able to edit it.

In the template, find {$node->menutext} and replace it with {$node->raw_menutext}.

That’s it! Save it and edit your menu items like this:

And be sure to clear the CMS Cache (Site Admin->Global Settings->Advanced Setup).

Author Spotlight

Nic Bug

I am a freelance web designer from Germany and CMS Made Simple is my every day tool. I have been using it since 2007 and I love it because it’s so easy to use. Even my clients understand and use it daily. I also have my own CMS Made Simple project called www.TemplateMadeSimple.com. There, you will find premium templates for made for CMS Made Simple.