Page 1 of 1
How do i set | in menu UL?
Posted: Thu Apr 22, 2010 9:30 am
by sander123
heey!
any know how i set a | in the menu UL
Home | Contact?
.......................................
Sorry for bad english!:P
Re: How do i set | in menu UL?
Posted: Thu Apr 22, 2010 9:37 am
by Mantlet
Hi Sander,
You need to edit the menumanager for that. If you use a default menu template, you can import it into the database. After that, it is editable.
Now you need to find out where the closing tag of all the nodes is specified. Before the closing tag, you can simply add the character you want in the code. It will then be repeated for every closing tag that's in your menu.
Off course, where the closing tag is, depends on the template you're using.
Cheers from another Sander
Re: How do i set | in menu UL?
Posted: Thu Apr 22, 2010 8:04 pm
by stijlXpres
Believe it or not, this is Sander #3...,
I mostly use the cssmenu.tpl from the menumanager and import it into the database.
Then I change this line:
into:
Code: Select all
{elseif $node->index > 0}</li><li>|</li
As you see I add another list-item, which makes the styling easier to control. When you use the solution of Sander #2, you might have trouble with the spacing on both sides of the '|'.
Good luck!