Page 1 of 1
[SOLVED] I have this extra menu item showing below the last
Posted: Tue Mar 01, 2011 10:40 pm
by fearmydesign
Hi, I can't seem to figure out why there is an extra menu item showing right after and doesn't do anything.
I am using the
/* by Alexander Endresen and mark and Nuno */ vertical menu style and here is the link so you can see; please roll over the "What's Happening" menu item and you will see the extra space at the bottom of the drop-down menu...
http://liquidbluedenim.com/index.php?pa ... -happening
Any ideas how to eliminate this?
Re: I have this extra menu item showing below the last level
Posted: Tue Mar 01, 2011 11:09 pm
by Jos
I see an extra list-item in the html code
Code: Select all
<li class="separator once" style="list-style-type: none;"> </li>
Do you have a "page" of content type=separator?
Re: I have this extra menu item showing below the last level
Posted: Tue Mar 01, 2011 11:09 pm
by Ricko97
Looks like it's rendering this at the end of each dropdown:
Code: Select all
<li class="separator once" style="list-style-type: none;"> </li>
Search the template for part of the line, like class="separator once", and you should be able to remove it (along with any Smarty logic that goes with it). It should be safe to remove as those classes aren't used anywhere else in the menu from what I can see.
EDIT: ninja'ed by Jos! Oops.
Re: I have this extra menu item showing below the last level
Posted: Tue Mar 01, 2011 11:32 pm
by fearmydesign
Do you have a "page" of content type=separator?
No I don't...
Search the template for part of the line, like class="separator once", and you should be able to remove it (along with any Smarty logic that goes with it). It should be safe to remove as those classes aren't used anywhere else in the menu from what I can see.
Ok, I took that line out of the
cssmenu_ulshadow.tpl menu template and it worked...! but this is the first time I ever touch this template... it's supposed to be the default template that comes with the installation, any idea how this could of happened?
Thank you both for your help.
Re: I have this extra menu item showing below the last level
Posted: Wed Mar 02, 2011 12:25 am
by Ricko97
Glad to know it's fixed, but I'm not sure why it was like that to begin with. Maybe it's meant to be used in conjunction with different CSS? I don't know.
By the way, you might want to prepend your topic title with [Solved].

Re: I have this extra menu item showing below the last level
Posted: Wed Mar 02, 2011 12:52 am
by fearmydesign
By the way, you might want to prepend your topic title with [Solved].
Oh man! I have trying to find out how to do this for other posts as well.... where do I change the title to solved...?
thx again
Re: I have this extra menu item showing below the last level
Posted: Wed Mar 02, 2011 1:03 am
by Ricko97
Edit your first post; changing the subject line should change the topic title as well.

Re: [SOLVED] I have this extra menu item showing below the l
Posted: Wed Mar 02, 2011 6:45 pm
by Dr.CSS
You were using the wrong menu template for the style you needed, should have used the cssmenu.tpl instead...