{solved}Some Menu Help Please

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
bteo1
New Member
New Member
Posts: 8
Joined: Mon May 17, 2010 4:44 pm

{solved}Some Menu Help Please

Post by bteo1 »

Hi, first off I am running CMSMS 1.7.1, running 5.2.4-2ubuntu5.10 PHP on a MySQL of  2.11.3deb1ubuntu1.3 - i think.

Not that it will be all that useful to know since I am having some CSS Styling problems but I need something that looks exactly what is found at http://www.brokentongueentertainment.ca... the vertical menu.

On this example, the Parent pages (Home, About, Artists, etc etc) are styled one way and the child pages (the Artists themselves, and Store Items) are styled another way.

I would like this on the CMSMS menus, but I am thinking I may need to play with the MenuManager because I can't seem to find a Class or ID for the "Child Links", that and I am not that familiar with the language, so I could be completely missing something. If someone could help me out, it would be greatly appreciated.

Thank you.
Last edited by bteo1 on Tue May 18, 2010 5:55 am, edited 1 time in total.
bteo1
New Member
New Member
Posts: 8
Joined: Mon May 17, 2010 4:44 pm

Re: Some Menu Help Please

Post by bteo1 »

oh... if im missing anything, please let me know and I'll tell u what else u need to know.
bteo1
New Member
New Member
Posts: 8
Joined: Mon May 17, 2010 4:44 pm

Re: {solved}Some Menu Help Please

Post by bteo1 »

Ok so after doing some actual reading, I figured it out & here is my code:

Code: Select all

  {if $count > 0}
    {foreach from=$nodelist item=node}
      {if $node->depth == 1}
       <h3 class="head"><a href="{$node->url}">{$node->menutext}</a>
       {elseif $node}
       <ul>
              <li><a href="{$node->url}">{$node->menutext}</a></li>
       </ul>
      {/if}
    {/foreach}
  {/if}
and styled it accordingly. haha! I am so awesome.
Post Reply

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