WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Active menu problem!
  • Print
Pages: [1]   Go Down

Author Topic: Active menu problem!  (Read 4640 times)

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Active menu problem!
« on: July 12, 2010, 12:24:11 PM »
Hello
I've made a WB template from some html template and now Im having a problem with the menu, the top active menu is not showing right. I posting a picture of what I mean and the codes for the menu.
I would like the arrow to be under the link. and I cant figure it out how to do this.

hope you understand.


Menu code:
Code: [Select]
<ul>

<li id="first" class="active"><a href="/"> <?php show_menu(1, 0, 1, true, &#39;<li>[a][menu_title]</a>&#39;, &#39;</li>&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;); ?>

</a></li>

<li></li>



</ul>

CSS code:
Code: [Select]
#topnav li#first {background:none!important;}

#topnav .active a {background:url(../images/menuactive.gif) no-repeat center 27px; color:#184896;}

#topnav a:visited, #topnav a:active {color:#7098c6; text-decoration:none;}

#topnav a:hover {color:#184896;}


Thx in advance  :-)

[gelöscht durch Administrator]
Logged

snark

  • Guest
Re: Active menu problem!
« Reply #1 on: July 12, 2010, 07:15:35 PM »
use showmenu2

.menu-current

.menu-parent

read the showmenu2 description and be amazed


Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Active menu problem!
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2