Inject HTML into site menu

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/27/2011 1:31:31 PM
Gravatar
Total Posts 19

Inject HTML into site menu

Hi,

is there currently any way to place HTML into the page name for the menu,

ie  rather than reading "who are we, About"

it would read "<span class="menuitem">who are we</span> <br /> About"

regards

 

2/27/2011 1:35:53 PM
Gravatar
Total Posts 19

Re: Inject HTML into site menu

Just to add to the previous post,  is it also possible to inject html into the module title,

ie <span class="modtitle">About</span> us

regards

2/28/2011 10:11:39 AM
Gravatar
Total Posts 18439

Re: Inject HTML into site menu

no, it is not possible to inject html in either of those places.

Your first example looks like you are just adding a br to make it wrap which could be done from css but depending on the menu style may not work well like if tabs are designed to be a specific height then wrapping may not produce good results while in other menu styles is may work fine. For example long page titles used in mitchinson-golden skin wrap well but other menus are not designed with enough height, so often they use {whitepsace:nowrap; }

The second example inside module title, I have no good solution for other than you could set the show title to false in the settings and add whatever title you like right in the html.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.