h3 tag for activepage in default CMSMS menu

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
doodleflip
Forum Members
Forum Members
Posts: 16
Joined: Tue Aug 11, 2009 3:26 pm

h3 tag for activepage in default CMSMS menu

Post by doodleflip »

I've used the default menu to handle my menu in CMSMS as its only a little horizontal text list.

For my active page, the menu has decided to add a inside the . This is kind of messing up the list.

So, I need to know firstly if I can remove the and just have it render as a list item (and only a list item!), or failing that, how can I remove the active class?

I suppose what I'm really asking is, where can I get my hands on the actual mark-up for the menu thats provided when you use the tag {menu}.

Thanks
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: h3 tag for activepage in default CMSMS menu

Post by RonnyK »

doodle,

when calling menu, a template is used from the Layout -> MenuManager area, being the specific template that is called, or the simple_navigation.tpl, when no template is given...

Ronny
doodleflip
Forum Members
Forum Members
Posts: 16
Joined: Tue Aug 11, 2009 3:26 pm

Re: h3 tag for activepage in default CMSMS menu

Post by doodleflip »

Hi Ronny, thanks for taking the time to reply.

I figured that might be what it was, so I went into my menu manager, into the file templates, clicked to import the template to the database, then went into the code in simple_navigation.tpl, and took out the only tags that were in there. Submit, and refresh my page, and they are still there.

Its driving me nuts!

Any other ideas? I must be doing something wrong...
doodleflip
Forum Members
Forum Members
Posts: 16
Joined: Tue Aug 11, 2009 3:26 pm

Re: h3 tag for activepage in default CMSMS menu

Post by doodleflip »

Ok, I've solved it. I needed to apply the new template to the menu.

I'm still not sure where it was getting its original mark-up from though as I changed the simple_navigation.tpl, and that was the only one out of the three default templates with a tag in it!
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: h3 tag for activepage in default CMSMS menu

Post by RonnyK »

You imported it, that makes it an db-template... That should be called without the ending .tpl, so the named/changed template without the .tpl should be called...

Ronny
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: h3 tag for activepage in default CMSMS menu

Post by Dr.CSS »

If you didn't specify a menu template in the {menu} call it uses the simple nav one, if it does have the simple nav call with .tpl in it then it uses the non DB template that will always have the h3 in it...

You could have just styled the h3 to look like you wanted...
Post Reply

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