show children and grandchilds in different blocks
-
Have a problem with that show children and grandchildren in different blocks, but can not find any good way to do this. Is there a good way for this. All I come up with is that the main menu and its children in different blocks. But the grandchildren are nested.
Here’s how it looks:
<ul class="menu top_level"> <li>Parent 1</li> <li>Parent 2</li> <li>Parent 3</li> <li>Parent 4</li> <li>Parent 5</li> <li>Parent 6</li> </ul> <ul class="menu subpages"> <li>Child 1</li> <li class="current_page_item">Child 2 <ul class="children"> <li class="page_item">Grandchild</li> </ul> </li> <li>Child 3</li> </ul>
And I want it like this:
<ul class="menu top_level"> <li>Parent 1</li> <li>Parent 2</li> <li>Parent 3</li> <li>Parent 4</li> <li>Parent 5</li> <li>Parent 6</li> </ul> <ul class="menu subpages"> <li>Child 1</li> <li class="current_page_item">Child 2</li> <li>Child 3</li> </ul> <ul class="children"> <li class="page_item">Grandchild</li> </ul>
Is this possible?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘show children and grandchilds in different blocks’ is closed to new replies.