heey!
any know how i set a | in the menu UL
Home | Contact?
.......................................
Sorry for bad english!:P
How do i set | in menu UL?
Re: How do i set | in menu UL?
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
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
- stijlXpres
- Forum Members
- Posts: 137
- Joined: Tue May 05, 2009 12:10 pm
- Location: Raalte, the Netherlands
Re: How do i set | in menu UL?
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:
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!
I mostly use the cssmenu.tpl from the menumanager and import it into the database.
Then I change this line:
Code: Select all
{elseif $node->index > 0}</li>
Code: Select all
{elseif $node->index > 0}</li><li>|</li
Good luck!