[SOLVED] I have this extra menu item showing below the last

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
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

[SOLVED] I have this extra menu item showing below the last

Post 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?
Last edited by fearmydesign on Wed Mar 02, 2011 2:01 am, edited 3 times in total.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: I have this extra menu item showing below the last level

Post by Jos »

I see an extra list-item in the html code

Code: Select all

<li class="separator once" style="list-style-type: none;">&nbsp;</li>
Do you have a "page" of content type=separator?
User avatar
Ricko97
Forum Members
Forum Members
Posts: 65
Joined: Wed Jan 07, 2009 10:14 pm

Re: I have this extra menu item showing below the last level

Post 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.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: I have this extra menu item showing below the last level

Post 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.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Ricko97
Forum Members
Forum Members
Posts: 65
Joined: Wed Jan 07, 2009 10:14 pm

Re: I have this extra menu item showing below the last level

Post 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]. :)
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: I have this extra menu item showing below the last level

Post 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
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Ricko97
Forum Members
Forum Members
Posts: 65
Joined: Wed Jan 07, 2009 10:14 pm

Re: I have this extra menu item showing below the last level

Post by Ricko97 »

Edit your first post; changing the subject line should change the topic title as well. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: [SOLVED] I have this extra menu item showing below the l

Post by Dr.CSS »

You were using the wrong menu template for the style you needed, should have used the cssmenu.tpl instead...
Post Reply

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