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

Nautica02 Liquid

<< < (4/4)

marccouture:
Anyone?  :-D

LordDarkman:
I found this on the demo site:

--- Code: ---.menu-current > a { background: red; }

--- End code ---
This is to highlight the currend menu item. You can write this in your CSS as font-weight:bold.
See also http://code.jellycan.com/sm2test/

CU Moritz

StudioVerlag:
index.php

--- Code: ---<div id="wrapper-menu-top">
<div id="menu-top">
    <ul>
<!--< ?php show_menu(1,0,1,true,'<li>[a]<span>[menu_title]</span>[/a]</li>','','','','',''); ? > -->
<?php show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL,&#39;<li><a href="[url]" class="[class]"><span>[menu_title]</span></a>&#39;, "</li>", &#39;&#39;, &#39;&#39;, true, &#39;&#39;);?>

    </ul>
</div><!--menu-top-->
</div><!--wrapper-menu-top-->
--- End code ---

CSS

--- Code: ---#menu-top {
    background: transparent url('images/bg02-white-right.png') no-repeat right top;
    overflow: hidden; /* no idea why this works, but it fixes a FF problem */
}
/* add menu-current sm2 */
.menu-current {
    font-weight: bold;
}
--- End code ---

marccouture:
Hans, you are a savior, works great, thanks.

BTW, here is the site I am working on (almost done):

http://www.erta.ca

I am currently hacking away at a new publication/references management module that, hopefully, can be given back to the WB community (see the "publications" tab on the site).

Navigation

[0] Message Index

[*] Previous page

Go to full version