Menu not displaying as intended

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Menu not displaying as intended

Post by jasnick »

Using CMSMS 1.9.4.1

In the template I have:
<div id="nav">
{menu template="minimal_menu.tpl"}
</div><!--nav-->

The navigation I want can be seen on the site I am re-doing in CMSMS: http://www.avalonsails.com.au

I am using the exact same code in the site in my test directory but the thick black area is absent and the current page is not showing black either. Apart from that the transition to CMSMS is OK.

Is my {menu} tag incorrect?

Thanks
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1793
Joined: Wed Feb 25, 2009 4:25 am

Re: Menu not displaying as intended

Post by DIGI3 »

import the menu .tpl so you can edit it, then change the active page styles to be the same as in your previous site (or change your css to match the menu .tpl)
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Menu not displaying as intended

Post by jasnick »

Thanks - I see now. What is confusing me is the page where the templates are displayed: do I make the one I am using the 'default'? I notice that if I do that, the tag changes to just {menu} no matter what it was previously.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu not displaying as intended

Post by Dr.CSS »

It changes to {menu} because it is now the default menu template, change any of them to default and the tag changes to {menu}, if you need to make changes to a menu template you import it into DB and change it to what you may need...
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Menu not displaying as intended

Post by jasnick »

Thanks Dr. CSS - so I import say the minimal tpl and change it to match what I want, call it something else, attach it to the site template and then make it the default. So then I just use {menu} in the main site template? Is that right?

Thanks
Post Reply

Return to “Layout and Design (CSS & HTML)”