[SOLVED] menu issues

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
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

[SOLVED] menu issues

Post by maryjane »

I am just learning how to build a website with CMSMS. I have finally designed my home page the way I want it to look using some code from Listamatic. Now my pages don't connect to the words on the page. Can you help me understand how to style the menu but still have it navigational?
Thank you for helping us neophites who are teaching ourselves.
website is maryjaneparkerart.com/cmsms/
Last edited by maryjane on Sat Jan 01, 2011 10:17 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: menu issues

Post by Nullig »

Please post your template, so we can see how the pages are created.

Nullig
maryjane
Forum Members
Forum Members
Posts: 29
Joined: Wed Dec 08, 2010 4:56 pm

Re: menu issues

Post by maryjane »



{* Change lang="en" to the language of your site *}

{sitename}
{global_content name='Title'}
{stylesheet}






home
gallery
about
statement
contact



{content}



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

Re: menu issues

Post by Dr.CSS »

Where you have your menu ul li add {menu} and it will go thru your pages in content > pages and take all your pages and spit out an ul li for you which will auto add an active class to your menu active item, most likely if you go to menu manager you will see simple_navigation.tpl set as default, you may want to set the minimum_menu.tpl as default...
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: menu issues

Post by Nullig »

Should be something like this:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>{sitename}</title>
    {global_content name='Title'}
    {stylesheet}
  </head>
  </__body>
    <div id="navcontainer">
      {menu}
    </div>
    {content}
  <__body>
</__html>
or better:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>{sitename}</title>
    {global_content name='Title'}
    {stylesheet}
  </head>
  </__body>
    <div id="navcontainer">
      {menu}
    </div>
    <div id="content">
      {content}
    </div>
  <__body>
</__html>
Nullig
Last edited by Nullig on Sat Dec 18, 2010 6:35 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: menu issues

Post by Nullig »

Since you have submenu items, you may want to set the cssmenu.tpl as the default in Menu Manager.

Nullig
Post Reply

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