Help with active in 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with active in menu

Post by Dr.CSS »

Which menu template are you using, there are no active pages in those menus.

Can you paste your menu tags from the template?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with active in menu

Post by Dr.CSS »

Try this....


{cms_module module='menumanager' template="ellnav-vert.tpl"  start_element="1.1" show_root_siblings="1"}



{cms_module module='menumanager' template="ellnav-horiz.tpl"  start_element="2.1" show_root_siblings="1"}


These will give you active pages.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with active in menu

Post by Dr.CSS »

When you call out a template in the menu it looks thru your pages, how they are set up in the Pages page, and then assigns id's and classes to each link according to it's place in the menu.  ps. you might want to change the second one to some styling depends on that.

In your case when i go to the link you posted Forside is set as...
Forside

so now you can style it 2 ways either li .active or a .active

When i click Business IT konsulent it shows set as

Business IT konsulent

and that give you 2 ways to style.

I usually suggest that people use Firefox with the Web Developer extension as it lets you edit the CSS, w/o destoying the real ones, in real time from the browser, when you get it the way you like you can copy/paste the good style into the real CSS files.

Thread in forum for ext. http://forum.cmsmadesimple.org/index.ph ... .html  .
Post Reply

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