customizing cssmenu.tpl

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"
Locked
reidjazz

customizing cssmenu.tpl

Post by reidjazz »

I am attempting to get a simple site, http://www.zanichellientertainment.com/cmsms to display correctly in IE6, but am having trouble with the menu. I have a menu I like at http://www.cssplay.co.uk/menus/basic_dd.html, but there are some codes,

Code: Select all

<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
, for example, that I need to place in the cssmenu.tpl in Menu Manager and I'm not sure where they're supposed to go in the midst of all that code. If you view the source of the menu I'm attempting to replicate, you'll see where these codes are.

Could someone possibly be of some assistance with this?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: customizing cssmenu.tpl

Post by Dr.CSS »

When trying to figure out where to put things in the menu manager...

Try putting numbers in front and back of the diff. ul li items in the menu manager template like so...

1{repeat string="" times=$node->depth-$node->prevdepth}2
{elseif $node->depth prevdepth}
3{repeat string="4" times=$node->prevdepth-$node->depth}5
67
{elseif $node->index > 0}89
{/if}

etc. etc...

Then when you render the page look at the page source to see where they show up...

You have a certain reason not to use the default cssmenu.tpl?
reidjazz

Re: customizing cssmenu.tpl

Post by reidjazz »

Mark,
Many thanks. I think I will try to use the default cssmenu.tpl, but I wanted to try to implement what Stu has going at his site...he's pretty amazing and I"m sure there has to be a way to implement some of his ideas with CMSMS.

Todd
Locked

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