[SOLVED] Modification of cssmenu.tpl to disable parent link

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
clefty
New Member
New Member
Posts: 8
Joined: Tue Jul 24, 2007 8:55 am

[SOLVED] Modification of cssmenu.tpl to disable parent link

Post by clefty »

Hi,

There's probably an easy answer to this but a Google site search hasn't found anything.

I have a vertical css menu based on the core cssmenu.tpl and css-vertical css.

What I'm trying to achieve is show a parent element e.g Services, which on hover will show the child elements e.g. "Hosting", "Domain Registration". I'd like the child elements to be clickable to the page alias, but the parent to be an anchor for the dropdown, not a link itself.

I've been messing with cssmenu.tpl but to no avail.

I'm sure there's an easy solution to this thats alluding me. Has anyone achieved this?

TIA,

Chris
Last edited by clefty on Fri Nov 14, 2008 10:09 am, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Modification of cssmenu.tpl to disable parent link

Post by Nullig »

Just make the Services menu item a "Section Header" content type.

Nullig
clefty
New Member
New Member
Posts: 8
Joined: Tue Jul 24, 2007 8:55 am

[SOLVED] Re: Modification of cssmenu.tpl to disable parent link

Post by clefty »

Thanks Nullig,
How embarrassing! Being more a coder than designer, I went straight to the template/css rather than look at the tools provided ..
Chris
Post Reply

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