WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Menu CSS not showing correct

<< < (2/2)

Ruud:

--- Quote from: daydreamer on February 10, 2009, 11:23:30 PM ---But for some strange reason the menu items are not linking???

--- End quote ---

Have a look at the generated source of the page to see what is wrong.
It should display something like:


--- Code: ---<ul class="menu-top">
  <li class="menu-current menu-first"><a href="http://www.yourserver.com" target="_top"><span>Home</span></a></li>
  <li class="menu-sibling"><a href="http://www.yourserver.com/pages/faq.php" target="_top"><span>Faq</span></a></li>
  <li class="menu-sibling"><a href="http://www.yourserver.com/pages/contact.php" target="_top"><span>Contact</span></a></li>
</ul>

--- End code ---

So a bit simplified:
 
--- Code: ---<li><a href="url"><span>text</span></a></li>
--- End code ---
If it looks like that, and still doesn't work... give us a link so we can see what is going on.

Ruud

daydreamer:
Looks like this

<div id="menu">
   <ul class="menu-top"><li><a><span>new</span></a></li></ul>
</div>

No link there

daydreamer:
Thanks got it sorted working with this

<?php show_menu2(2,SM2_ROOT,SM2_ROOT,SM2_TRIM, '<li>[a]<span>[menu_title]</span></a>','</li>'); ?>

Thanks Ruud

Ruud:
Y'r welcome,

Hope to see the result in the showcase forum some day.

Ruud

Navigation

[0] Message Index

[*] Previous page

Go to full version